From d33b005a25cd0fc755adcf076067e5727f98640e Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 14 Jan 2004 15:57:09 +0000 Subject: Fix build with gcc3 --- graphics/grap/distinfo | 3 ++- graphics/grap/patches/patch-ab | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 graphics/grap/patches/patch-ab (limited to 'graphics/grap') 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*); -- cgit v1.2.3