diff options
author | minskim <minskim@pkgsrc.org> | 2006-03-03 02:59:07 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2006-03-03 02:59:07 +0000 |
commit | 13ea581e596cee6a7a53f4fbda8995d0dd0fc13c (patch) | |
tree | 0f2c4b5fd92ee5d8505d452b24a7ce2ed182ed70 /textproc/glimpse | |
parent | 1664b55a0027787277534d73a88bef0350c3ab96 (diff) | |
download | pkgsrc-13ea581e596cee6a7a53f4fbda8995d0dd0fc13c.tar.gz |
Make this build with gcc-4.
Diffstat (limited to 'textproc/glimpse')
-rw-r--r-- | textproc/glimpse/distinfo | 4 | ||||
-rw-r--r-- | textproc/glimpse/patches/patch-ae | 19 |
2 files changed, 19 insertions, 4 deletions
diff --git a/textproc/glimpse/distinfo b/textproc/glimpse/distinfo index 9b835918593..27bd7140b6b 100644 --- a/textproc/glimpse/distinfo +++ b/textproc/glimpse/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2005/06/04 10:44:28 wiz Exp $ +$NetBSD: distinfo,v 1.8 2006/03/03 02:59:07 minskim Exp $ SHA1 (glimpse-4.18.0.tar.gz) = 15c832f241a9d59e67e167167d3c3dd6f53549d8 RMD160 (glimpse-4.18.0.tar.gz) = 879503214e48d6e32bc45660c5992851e6af4418 @@ -7,7 +7,7 @@ SHA1 (patch-aa) = 1f40e44ae7ca9078569b9faba03d57cb81f97180 SHA1 (patch-ab) = fdced623c88a201a3e28aadc8896d50c51774a66 SHA1 (patch-ac) = be5a951ac1f4db5ab3c99ca8a6ef82c042019690 SHA1 (patch-ad) = 6e1981e7b6e02eb2b3137e3adddc290ce3002f71 -SHA1 (patch-ae) = 221b70e1324da7e7ee8bf6b6bc0a704f91bc6d29 +SHA1 (patch-ae) = fdbcefba9e635b9135bab6b02be91311d5bac1c1 SHA1 (patch-af) = 0ef79bdb8477b6426c9fd9a5b708dde7b7c0c6d7 SHA1 (patch-ag) = 6ef9548db620934e1e7c91c456053898a07cb5f3 SHA1 (patch-ah) = d374536e090c8f1571ee2e1145c06febce96eee2 diff --git a/textproc/glimpse/patches/patch-ae b/textproc/glimpse/patches/patch-ae index 123214e9eff..9933c86d680 100644 --- a/textproc/glimpse/patches/patch-ae +++ b/textproc/glimpse/patches/patch-ae @@ -1,6 +1,6 @@ -$NetBSD: patch-ae,v 1.1 2005/06/04 10:44:29 wiz Exp $ +$NetBSD: patch-ae,v 1.2 2006/03/03 02:59:07 minskim Exp $ ---- index/glimpse.c.orig 2002-09-27 23:41:11.000000000 +0200 +--- index/glimpse.c.orig 2002-09-27 14:41:11.000000000 -0700 +++ index/glimpse.c @@ -9,7 +9,9 @@ #include <errno.h> @@ -12,3 +12,18 @@ $NetBSD: patch-ae,v 1.1 2005/06/04 10:44:29 wiz Exp $ extern FILE *TIMEFILE; /* file descriptor for sorting .glimpse_filenames by time */ #if BG_DEBUG extern FILE *LOGFILE; /* file descriptor for LOG output */ +@@ -19,12 +21,13 @@ extern FILE *MESSAGEFILE; /* file descr + extern char INDEX_DIR[MAX_LINE_LEN]; + extern struct stat istbuf; + +-extern char *TEMP_DIR; /* directory to store glimpse temporary files, usually /tmp unless -T is specified */ + #ifdef BUILDCAST + /* TEMP_DIR is normally defined in ../main.c; if we're building + * buildcast, that's not linked in, so we need to define one here. */ + /* char * TEMP_DIR = NULL; */ + static char * TEMP_DIR = "/tmp"; ++#else ++extern char *TEMP_DIR; /* directory to store glimpse temporary files, usually /tmp unless -T is specified */ + #endif /* BUILDCAST */ + extern int indexable_char[256]; + extern int GenerateHash; |