diff options
Diffstat (limited to 'textproc/glimpse/patches/patch-ac')
-rw-r--r-- | textproc/glimpse/patches/patch-ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/glimpse/patches/patch-ac b/textproc/glimpse/patches/patch-ac new file mode 100644 index 00000000000..7ab249cf54e --- /dev/null +++ b/textproc/glimpse/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1 2005/06/04 10:44:28 wiz Exp $ + +--- agrep/asearch.c.orig 1999-11-03 21:37:06.000000000 +0100 ++++ agrep/asearch.c +@@ -9,7 +9,9 @@ extern long CurrentFileTime; + extern int I, num_of_matched, prev_num_of_matched, TRUNCATE; + + extern int CurrentByteOffset; ++#ifndef errno + extern int errno; ++#endif + extern CHAR *agrep_inbuffer; + extern int agrep_inlen; + extern int agrep_initialfd; |