summaryrefslogtreecommitdiff
path: root/math/graphopt
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-24 13:53:06 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-24 13:53:06 +0000
commit2dd065587dd934e03695e1deaa0d3e7edcff7485 (patch)
tree792a94aae3bb55b889cf389aca81218d98eaf0d6 /math/graphopt
parenta051bb62722cee77e4546473242164574bdbbdd1 (diff)
downloadpkgsrc-2dd065587dd934e03695e1deaa0d3e7edcff7485.tar.gz
Fix build with modern GCC
Diffstat (limited to 'math/graphopt')
-rw-r--r--math/graphopt/distinfo8
-rw-r--r--math/graphopt/patches/patch-src_classes_dotImporter.cc11
-rw-r--r--math/graphopt/patches/patch-src_classes_nodes.cc11
-rw-r--r--math/graphopt/patches/patch-src_classes_optFileReader.cc10
-rw-r--r--math/graphopt/patches/patch-src_classes_optFileWriter.cc12
-rw-r--r--math/graphopt/patches/patch-src_classes_psExporter.cc12
-rw-r--r--math/graphopt/patches/patch-src_classes_visioExporter.cc12
7 files changed, 75 insertions, 1 deletions
diff --git a/math/graphopt/distinfo b/math/graphopt/distinfo
index b9b91fdb28c..796440745d0 100644
--- a/math/graphopt/distinfo
+++ b/math/graphopt/distinfo
@@ -1,5 +1,11 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 12:06:55 agc Exp $
+$NetBSD: distinfo,v 1.6 2011/11/24 13:53:06 joerg Exp $
SHA1 (graphopt-0.4.1.tgz) = f9648737604b6d0b403081e59447e39956e6d024
RMD160 (graphopt-0.4.1.tgz) = 78e10751481ed6ae3cf6dc784c210d1a3b73013b
Size (graphopt-0.4.1.tgz) = 77612 bytes
+SHA1 (patch-src_classes_dotImporter.cc) = 5bdc265514d334cdbedeaad1a6d259d19561cb9e
+SHA1 (patch-src_classes_nodes.cc) = 4ad2a227be7bdaa248dad7cab3321100c79cc3d3
+SHA1 (patch-src_classes_optFileReader.cc) = 00411ffdabc3bc8f5292d561c2c037f96b292c8c
+SHA1 (patch-src_classes_optFileWriter.cc) = fb7226c0df80b675d8b8e741df67aab367fea90b
+SHA1 (patch-src_classes_psExporter.cc) = b9c6caed4a0f2fb887a7b0bce10e8bfacb7088f5
+SHA1 (patch-src_classes_visioExporter.cc) = 7c23259e0947ea1d6c7dcc6a18b58bc221981fd3
diff --git a/math/graphopt/patches/patch-src_classes_dotImporter.cc b/math/graphopt/patches/patch-src_classes_dotImporter.cc
new file mode 100644
index 00000000000..6edccd98dba
--- /dev/null
+++ b/math/graphopt/patches/patch-src_classes_dotImporter.cc
@@ -0,0 +1,11 @@
+$NetBSD: patch-src_classes_dotImporter.cc,v 1.1 2011/11/24 13:53:06 joerg Exp $
+
+--- src/classes/dotImporter.cc.orig 2011-11-24 01:07:22.000000000 +0000
++++ src/classes/dotImporter.cc
+@@ -1,5 +1,6 @@
+ #include "dotImporter.h"
+ #include <string.h>
++#include <stdlib.h>
+ #include <gtk/gtk.h>
+ #include "../interface.h"
+
diff --git a/math/graphopt/patches/patch-src_classes_nodes.cc b/math/graphopt/patches/patch-src_classes_nodes.cc
new file mode 100644
index 00000000000..fe5a7da35db
--- /dev/null
+++ b/math/graphopt/patches/patch-src_classes_nodes.cc
@@ -0,0 +1,11 @@
+$NetBSD: patch-src_classes_nodes.cc,v 1.1 2011/11/24 13:53:06 joerg Exp $
+
+--- src/classes/nodes.cc.orig 2011-11-24 01:07:04.000000000 +0000
++++ src/classes/nodes.cc
+@@ -1,4 +1,6 @@
+ #include <stdio.h>
++#include <stdlib.h>
++#include <string.h>
+ #include "nodes.h"
+
+
diff --git a/math/graphopt/patches/patch-src_classes_optFileReader.cc b/math/graphopt/patches/patch-src_classes_optFileReader.cc
new file mode 100644
index 00000000000..b6e3791ee30
--- /dev/null
+++ b/math/graphopt/patches/patch-src_classes_optFileReader.cc
@@ -0,0 +1,10 @@
+$NetBSD: patch-src_classes_optFileReader.cc,v 1.1 2011/11/24 13:53:06 joerg Exp $
+
+--- src/classes/optFileReader.cc.orig 2011-11-24 01:08:20.000000000 +0000
++++ src/classes/optFileReader.cc
+@@ -1,4 +1,5 @@
+ #include "optFileReader.h"
++#include <stdlib.h>
+ #include <string.h>
+ #include <gtk/gtk.h>
+ #include "../interface.h"
diff --git a/math/graphopt/patches/patch-src_classes_optFileWriter.cc b/math/graphopt/patches/patch-src_classes_optFileWriter.cc
new file mode 100644
index 00000000000..dce998d58a3
--- /dev/null
+++ b/math/graphopt/patches/patch-src_classes_optFileWriter.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_classes_optFileWriter.cc,v 1.1 2011/11/24 13:53:06 joerg Exp $
+
+--- src/classes/optFileWriter.cc.orig 2011-11-24 01:07:58.000000000 +0000
++++ src/classes/optFileWriter.cc
+@@ -1,5 +1,6 @@
+ #include "optFileWriter.h"
+-
++#include <stdlib.h>
++#include <string.h>
+
+ optFileWriter::optFileWriter(char *what_file, nodes *what_nodes) {
+ filename = strdup(what_file);
diff --git a/math/graphopt/patches/patch-src_classes_psExporter.cc b/math/graphopt/patches/patch-src_classes_psExporter.cc
new file mode 100644
index 00000000000..b824b35ba64
--- /dev/null
+++ b/math/graphopt/patches/patch-src_classes_psExporter.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_classes_psExporter.cc,v 1.1 2011/11/24 13:53:06 joerg Exp $
+
+--- src/classes/psExporter.cc.orig 2011-11-24 01:08:36.000000000 +0000
++++ src/classes/psExporter.cc
+@@ -1,5 +1,6 @@
+ #include "psExporter.h"
+-
++#include <stdlib.h>
++#include <string.h>
+
+ psExporter::psExporter(char *what_file, nodes *what_nodes) {
+ filename = strdup(what_file);
diff --git a/math/graphopt/patches/patch-src_classes_visioExporter.cc b/math/graphopt/patches/patch-src_classes_visioExporter.cc
new file mode 100644
index 00000000000..c80f17bc35a
--- /dev/null
+++ b/math/graphopt/patches/patch-src_classes_visioExporter.cc
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_classes_visioExporter.cc,v 1.1 2011/11/24 13:53:06 joerg Exp $
+
+--- src/classes/visioExporter.cc.orig 2011-11-24 01:07:35.000000000 +0000
++++ src/classes/visioExporter.cc
+@@ -1,5 +1,6 @@
+ #include "visioExporter.h"
+-
++#include <stdlib.h>
++#include <string.h>
+
+ visioExporter::visioExporter(char *what_file, nodes *what_nodes) {
+ filename = strdup(what_file);