1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/textproc/glimpse/files/patch-index-glimpse.c
Beech Rintoul c1b0395208 - Fix build w/gcc-4.2
- Add mirror
- Makefile tweaks

PR:		ports/113932
Submitted by:	Conrad J. Sabatier  <conrads@cox.net> (maintainer)
Approved by:	sat (mentor)
2007-06-23 03:47:30 +00:00

15 lines
453 B
C

--- ./index/glimpse.c.orig 2007-06-21 22:24:44.000000000 -0500
+++ ./index/glimpse.c 2007-06-21 22:25:15.000000000 -0500
@@ -23,7 +23,7 @@
/* 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";
+char * TEMP_DIR = "/tmp";
#endif /* BUILDCAST */
extern int indexable_char[256];
extern int GenerateHash;