diff options
Diffstat (limited to 'graphics/grap/patches/patch-ab')
-rw-r--r-- | graphics/grap/patches/patch-ab | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/graphics/grap/patches/patch-ab b/graphics/grap/patches/patch-ab index 0c38e0a4793..a61b8399fde 100644 --- a/graphics/grap/patches/patch-ab +++ b/graphics/grap/patches/patch-ab @@ -1,15 +1,21 @@ -$NetBSD: patch-ab,v 1.1 2004/01/14 15:57:09 agc Exp $ +$NetBSD: patch-ab,v 1.2 2006/01/09 19:46:01 joerg Exp $ ---- grap.h 2004/01/14 15:42:50 1.1 -+++ grap.h 2004/01/14 15:43:09 -@@ -8,6 +8,10 @@ +--- grap.h.orig 2002-10-26 16:32:03.000000000 +0000 ++++ grap.h +@@ -7,7 +7,16 @@ + #define DEFINES "/usr/share/grap/grap.defines" #endif - #ifndef STDC_HEADERS ++#ifdef HAVE_CONFIG_H ++#include "config.h" ++#endif ++ ++extern bool print_lex_debug; + -+// keep up with gcc3.3 +using namespace std; + + #ifndef STDC_HEADERS ++ extern "C" { #ifndef __GNUC__ size_t strlen(const char*); |