pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/glimpse Make this build with gcc-4.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c6cf68676ddb
branches: trunk
changeset: 509098:c6cf68676ddb
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri Mar 03 02:59:07 2006 +0000
description:
Make this build with gcc-4.
diffstat:
textproc/glimpse/distinfo | 4 ++--
textproc/glimpse/patches/patch-ae | 19 +++++++++++++++++--
2 files changed, 19 insertions(+), 4 deletions(-)
diffs (49 lines):
diff -r 15e0627aabaf -r c6cf68676ddb textproc/glimpse/distinfo
--- a/textproc/glimpse/distinfo Fri Mar 03 01:32:27 2006 +0000
+++ b/textproc/glimpse/distinfo Fri Mar 03 02:59:07 2006 +0000
@@ -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-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 -r 15e0627aabaf -r c6cf68676ddb textproc/glimpse/patches/patch-ae
--- a/textproc/glimpse/patches/patch-ae Fri Mar 03 01:32:27 2006 +0000
+++ b/textproc/glimpse/patches/patch-ae Fri Mar 03 02:59:07 2006 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index