pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/grap Fix build with gcc3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98290bf20cce
branches:  trunk
changeset: 466272:98290bf20cce
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed Jan 14 15:57:09 2004 +0000

description:
Fix build with gcc3

diffstat:

 graphics/grap/distinfo         |   3 ++-
 graphics/grap/patches/patch-ab |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 1b4285023fee -r 98290bf20cce graphics/grap/distinfo
--- a/graphics/grap/distinfo    Wed Jan 14 15:06:52 2004 +0000
+++ b/graphics/grap/distinfo    Wed Jan 14 15:57:09 2004 +0000
@@ -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 -r 1b4285023fee -r 98290bf20cce graphics/grap/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/grap/patches/patch-ab    Wed Jan 14 15:57:09 2004 +0000
@@ -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*);



Home | Main Index | Thread Index | Old Index