summaryrefslogtreecommitdiff
path: root/graphics/grap
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2004-01-14 15:57:09 +0000
committeragc <agc@pkgsrc.org>2004-01-14 15:57:09 +0000
commit8a2747174317124eb19a9bacb31e970ed15e65be (patch)
tree60b2f977819789f4d8400a75618f37c1358438e6 /graphics/grap
parent45f32ade9671b2f7366ae585625d9b8872acf908 (diff)
downloadpkgsrc-8a2747174317124eb19a9bacb31e970ed15e65be.tar.gz
Fix build with gcc3
Diffstat (limited to 'graphics/grap')
-rw-r--r--graphics/grap/distinfo3
-rw-r--r--graphics/grap/patches/patch-ab15
2 files changed, 17 insertions, 1 deletions
diff --git a/graphics/grap/distinfo b/graphics/grap/distinfo
index 61e2502b6d7..e38b6eeee46 100644
--- a/graphics/grap/distinfo
+++ b/graphics/grap/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2003/07/14 07:12:12 jtb Exp $
+$NetBSD: distinfo,v 1.7 2004/01/14 15:57:09 agc Exp $
SHA1 (grap-1.30.tar.gz) = d8083d75cc4ca7bbfcca1a0958e1da10e54f1c88
Size (grap-1.30.tar.gz) = 167462 bytes
SHA1 (patch-aa) = a1663c1f761c21983b38f74a150fcc2c28ebc177
+SHA1 (patch-ab) = 52c30e359b0d63c57c36cfd563e63fdc9b5e099c
diff --git a/graphics/grap/patches/patch-ab b/graphics/grap/patches/patch-ab
new file mode 100644
index 00000000000..0c38e0a4793
--- /dev/null
+++ b/graphics/grap/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2004/01/14 15:57:09 agc Exp $
+
+--- grap.h 2004/01/14 15:42:50 1.1
++++ grap.h 2004/01/14 15:43:09
+@@ -8,6 +8,10 @@
+ #endif
+
+ #ifndef STDC_HEADERS
++
++// keep up with gcc3.3
++using namespace std;
++
+ extern "C" {
+ #ifndef __GNUC__
+ size_t strlen(const char*);