diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2007-05-30 17:15:47 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2007-05-30 17:15:47 +0000 |
commit | 4aaedc83cd52bb876d3f3de5b24a01409aee959d (patch) | |
tree | 79439393df942e290ed1095804987226c0046d7b /www/harvest | |
parent | b4d1f5a386ed76bbb80b4a537655ed27d7a223ee (diff) | |
download | ports-4aaedc83cd52bb876d3f3de5b24a01409aee959d.tar.gz ports-4aaedc83cd52bb876d3f3de5b24a01409aee959d.zip |
Notes
Diffstat (limited to 'www/harvest')
-rw-r--r-- | www/harvest/files/patch-components::broker::standard::glimpse::index::glimpse.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/harvest/files/patch-components::broker::standard::glimpse::index::glimpse.c b/www/harvest/files/patch-components::broker::standard::glimpse::index::glimpse.c new file mode 100644 index 000000000000..20f50f7048f7 --- /dev/null +++ b/www/harvest/files/patch-components::broker::standard::glimpse::index::glimpse.c @@ -0,0 +1,17 @@ +--- components/broker/standard/glimpse/index/glimpse.c.orig Wed May 30 19:09:39 2007 ++++ components/broker/standard/glimpse/index/glimpse.c Wed May 30 19:11:06 2007 +@@ -18,12 +18,13 @@ + 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; |