summaryrefslogtreecommitdiff
path: root/graphics/grap/patches
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/patches
parent45f32ade9671b2f7366ae585625d9b8872acf908 (diff)
downloadpkgsrc-8a2747174317124eb19a9bacb31e970ed15e65be.tar.gz
Fix build with gcc3
Diffstat (limited to 'graphics/grap/patches')
-rw-r--r--graphics/grap/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
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*);