pkgsrc/textproc/glimpse/patches/patch-am
wiz 109c711600 Update to 4.18.0, provided by Jeroen Ruigrok van der Werven in PR 30424.
Includes a number of patches to fix build on DragonFlyBSD.

Changes since 4.17.2:
Glimpse 4.18.0 has new configure script generated by autoconf 2.57
- may fix compilation problems on FreeBSD
2005-06-04 10:44:28 +00:00

14 lines
428 B
Text

$NetBSD: patch-am,v 1.1 2005/06/04 10:44:29 wiz Exp $
--- agrep/sgrep.c.orig 1999-11-01 21:32:58.000000000 +0100
+++ agrep/sgrep.c
@@ -65,7 +65,9 @@ extern CHARTYPE * agrep_outbuffer;
extern int NEW_FILE, POST_FILTER;
extern int EXITONERROR;
+#ifndef errno
extern int errno;
+#endif
extern int TCOMPRESSED;
extern int EASYSEARCH;
extern char FREQ_FILE[MAX_LINE_LEN], HASH_FILE[MAX_LINE_LEN], STRING_FILE[MAX_LINE_LEN];