summaryrefslogtreecommitdiff
path: root/textproc/glimpse/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/glimpse/patches/patch-al')
-rw-r--r--textproc/glimpse/patches/patch-al14
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/glimpse/patches/patch-al b/textproc/glimpse/patches/patch-al
new file mode 100644
index 00000000000..a6bead27769
--- /dev/null
+++ b/textproc/glimpse/patches/patch-al
@@ -0,0 +1,14 @@
+$NetBSD: patch-al,v 1.1 2005/06/04 10:44:29 wiz Exp $
+
+--- agrep/preprocess.c.orig 2002-09-27 23:41:09.000000000 +0200
++++ agrep/preprocess.c
+@@ -26,7 +26,9 @@ extern CHAR tc_D_pattern[MaxDelimit * 2]
+ extern int table[WORD][WORD];
+ extern int agrep_initialfd;
+ extern int EXITONERROR;
++#ifndef errno
+ extern int errno;
++#endif
+
+ extern int multifd;
+ extern char *multibuf;