diff options
author | Rene Ladan <rene@FreeBSD.org> | 2014-04-11 13:20:44 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2014-04-11 13:20:44 +0000 |
commit | 7e5f1066a3f0e92bb3cfede4149d0ab19082f166 (patch) | |
tree | 2ada87dee73b3f9d975e2a80387974ade3423260 /textproc | |
parent | cd0bf1872918b712e1b62f797862a2f95b5d2e1d (diff) | |
download | ports-7e5f1066a3f0e92bb3cfede4149d0ab19082f166.tar.gz ports-7e5f1066a3f0e92bb3cfede4149d0ab19082f166.zip |
Notes
Diffstat (limited to 'textproc')
23 files changed, 0 insertions, 528 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 62b6efcb67ee..832c76e4e132 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -189,7 +189,6 @@ SUBDIR += gl-aspell SUBDIR += gladtex SUBDIR += glark - SUBDIR += glimpse SUBDIR += glpi-plugins-AdditionalReports SUBDIR += glpi-plugins-DataInjection SUBDIR += gmetadom diff --git a/textproc/glimpse/Makefile b/textproc/glimpse/Makefile deleted file mode 100644 index 5a58bb0d35cf..000000000000 --- a/textproc/glimpse/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -# Created by: chuckr@FreeBSD.org -# $FreeBSD$ - -PORTNAME= glimpse -PORTVERSION= 4.13.1 -CATEGORIES= textproc databases -MASTER_SITES= LOCAL/beech - -MAINTAINER= ports@FreeBSD.org -COMMENT= Text search engine - -DEPRECATED= No more public distfiles -EXPIRATION_DATE= 2014-03-10 - -MAKE_JOBS_UNSAFE= yes - -OPTIONS_DEFINE= DOCS - -PORTDOCS= README COPYRIGHT - -USES= desthack -NO_CDROM= Restrictive copyright (do not sell for profit) -GNU_CONFIGURE= yes -CFLAGS+= -DISO_CHAR_SET=1 -D__STRICT_ANSI__ - -pre-configure: - @${CHMOD} a+x ${WRKSRC}/configure - -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/ - ${INSTALL_PROGRAM} ${WRKSRC}/index/wgconvert ${STAGEDIR}${PREFIX}/bin - -.include <bsd.port.mk> diff --git a/textproc/glimpse/distinfo b/textproc/glimpse/distinfo deleted file mode 100644 index 97b1f0a0748f..000000000000 --- a/textproc/glimpse/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (glimpse-4.13.1.tar.gz) = c7717562ccc34bbcf33471aa645513a4165e033b776ed7172d110542665f66c8 -SIZE (glimpse-4.13.1.tar.gz) = 394426 diff --git a/textproc/glimpse/files/patch-Makefile.in b/textproc/glimpse/files/patch-Makefile.in deleted file mode 100644 index 4d40bb0ff7f5..000000000000 --- a/textproc/glimpse/files/patch-Makefile.in +++ /dev/null @@ -1,58 +0,0 @@ ---- ./Makefile.in.orig 1999-11-01 20:34:49.000000000 +0000 -+++ ./Makefile.in 2014-01-27 21:42:55.000000000 +0000 -@@ -33,9 +33,9 @@ - TEMPLATESRC = $(srcdir)/$(TEMPLATEDIR) - COMPRESSDIR = compress - COMPRESSSRC = $(srcdir)/$(COMPRESSDIR) --DESTDIR = $(srcdir)/bin -+SRCDIR = $(srcdir)/bin - --CFLAGS = @CFLAGS@ -O -DSTRUCTURED_QUERIES=1 -+CFLAGS = -O @CFLAGS@ -DSTRUCTURED_QUERIES=1 - ALL_CFLAGS = $(CFLAGS) $(DEFS) -I$(INDEXSRC) -I$(AGREPSRC) -I$(TEMPLATESRC)/include - LINKFLAGS = @LDFLAGS@ -I$(INDEXSRC) -I$(AGREPSRC) -I$(TEMPLATESRC)/include - -@@ -83,13 +83,13 @@ - all: $(PROGINDEX) $(PROGAGREP) $(PROG) $(PROGSERVER) - - install: all installdirs -- cd $(DESTDIR) ;\ -+ cd $(SRCDIR) ;\ - for f in $(ALL_PROGS) ; do \ -- $(INSTALL_PROGRAM) $$f $(bindir)/$(binprefix)$(f) ;\ -+ $(INSTALL_PROGRAM) $$f $(bindir)/$(binprefix) ;\ - done - cd $(srcdir) ;\ - for f in $(ALL_MANS) ; do \ -- $(INSTALL_DATA) $$f $(mandir)/$(manprefix)$(f).$(manext) ;\ -+ $(INSTALL_DATA) $$f $(mandir)/$(manprefix) ;\ - done - # $(INSTALL_PROGRAM) $(PROGINDEX) $(bindir)/$(binprefix)glimpseindex - # $(INSTALL_PROGRAM) $(PROGAGREP) $(bindir)/$(binprefix)agrep -@@ -114,13 +114,13 @@ - - $(PROG): main.o $(OBJS) $(SRC) $(HDRS) $(AGREPDIR)/lib$(LIBAGREP).a $(TEMPLATEDIR)/$(LIBTEMPLATE)/lib$(LIBTEMPLATE).a $(TEMPLATEDIR)/$(LIBUTIL)/lib$(LIBUTIL).a $(COMPRESSDIR)/lib$(LIBCOMPRESS).a - $(CC) $(LINKFLAGS) -L$(AGREPDIR) -L$(COMPRESSDIR) -L$(TEMPLATEDIR)/$(LIBTEMPLATE) -L$(TEMPLATEDIR)/$(LIBUTIL) -o $(PROG) main.o $(OBJS) -l$(LIBAGREP) -l$(LIBTEMPLATE) -l$(LIBUTIL) $(LIBS) -- $(CP) $(PROG) $(DESTDIR) -- if test -n "$(STRIP)" ; then $(STRIP) $(DESTDIR)/$(PROG) ; fi -+ $(CP) $(PROG) $(SRCDIR) -+ if test -n "$(STRIP)" ; then $(STRIP) $(SRCDIR)/$(PROG) ; fi - - $(PROGSERVER): main_server.o $(OBJS) $(SRC) $(HDRS) $(AGREPDIR)/lib$(LIBAGREP).a $(TEMPLATEDIR)/$(LIBTEMPLATE)/lib$(LIBTEMPLATE).a $(TEMPLATEDIR)/$(LIBUTIL)/lib$(LIBUTIL).a $(COMPRESSDIR)/lib$(LIBCOMPRESS).a - $(CC) $(LINKFLAGS) -L$(COMPRESSDIR) -L$(AGREPDIR) -L$(TEMPLATEDIR)/$(LIBTEMPLATE) -L$(TEMPLATEDIR)/$(LIBUTIL) -o $(PROGSERVER) main_server.o $(OBJS) -l$(LIBAGREP) -l$(LIBTEMPLATE) -l$(LIBUTIL) $(LIBS) -- $(CP) $(PROGSERVER) $(DESTDIR) -- if test -n "$(STRIP)" ; then $(STRIP) $(DESTDIR)/$(PROGSERVER) ; fi -+ $(CP) $(PROGSERVER) $(SRCDIR) -+ if test -n "$(STRIP)" ; then $(STRIP) $(SRCDIR)/$(PROGSERVER) ; fi - - $(TEMPLATEDIR)/$(LIBTEMPLATE)/lib$(LIBTEMPLATE).a: - cd $(TEMPLATEDIR) ; $(MAKE) -@@ -137,7 +137,7 @@ - cd $(INDEXDIR) ; $(MAKE) clean - cd $(COMPRESSDIR); $(MAKE) clean - cd $(TEMPLATEDIR); $(MAKE) clean -- cd $(DESTDIR) ; rm -f $(ALL_PROGS) -+ cd $(SRCDIR) ; rm -f $(ALL_PROGS) - - distclean: clean - -rm -f Makefile config.cache config.status diff --git a/textproc/glimpse/files/patch-agrep__Makefile.in b/textproc/glimpse/files/patch-agrep__Makefile.in deleted file mode 100644 index 741904deb284..000000000000 --- a/textproc/glimpse/files/patch-agrep__Makefile.in +++ /dev/null @@ -1,36 +0,0 @@ ---- ./agrep/Makefile.in.orig 1999-11-01 20:33:54.000000000 +0000 -+++ ./agrep/Makefile.in 2014-01-27 21:42:55.000000000 +0000 -@@ -30,9 +30,9 @@ - TCOMPDIR = ../compress - TCOMPSRC = $(srcdir)/../compress - TEMPLATESRC = $(srcdir)/../libtemplate --DESTDIR = $(srcdir)/../bin -+SRCDIR = $(srcdir)/../bin - --CFLAGS = @CFLAGS@ -O -DDOTCOMPRESSED=0 -I$(TEMPLATESRC)/include -+CFLAGS = -O @CFLAGS@ -DDOTCOMPRESSED=0 -I$(TEMPLATESRC)/include - ALL_CFLAGS = $(CFLAGS) $(DEFS) - LINKFLAGS = @LINKFLAGS@ -I$(INDEXSRC) -I$(AGREPSRC) -I$(TEMPLATESRC)/include - -@@ -87,8 +87,8 @@ - $(CC) -L$(TCOMPDIR) $(CFLAGS) -o $@ $(OBJS) main.o -l$(TCOMP) - $(AR) rcv $(LIB) $(OBJS) - $(RANLIB) $(LIB) -- $(CP) $(PROG) $(DESTDIR) -- if test -n "$(STRIP)" ; then $(STRIP) $(DESTDIR)/$(PROG) ; fi -+ $(CP) $(PROG) $(SRCDIR) -+ if test -n "$(STRIP)" ; then $(STRIP) $(SRCDIR)/$(PROG) ; fi - - $(TCOMPDIR)/lib$(TCOMP).a: - cd $(TCOMPDIR) ; $(MAKE) -@@ -97,8 +97,8 @@ - $(CC) $(CFLAGS) -o $(PROG) $(OBJS) dummyfilters.o main.o - $(AR) rcv $(LIB) $(OBJS) dummyfilters.o - $(RANLIB) $(LIB) -- $(CP) $(PROG) $(DESTDIR) -- if test -n "$(STRIP)" ; then $(STRIP) $(DESTDIR)/$(PROG) ; fi -+ $(CP) $(PROG) $(SRCDIR) -+ if test -n "$(STRIP)" ; then $(STRIP) $(SRCDIR)/$(PROG) ; fi - - clean: - -rm -f $(LIB) $(OBJS) dummyfilters.o main.o core a.out $(PROG) diff --git a/textproc/glimpse/files/patch-agrep__agrep.c b/textproc/glimpse/files/patch-agrep__agrep.c deleted file mode 100644 index 06ef492308d4..000000000000 --- a/textproc/glimpse/files/patch-agrep__agrep.c +++ /dev/null @@ -1,10 +0,0 @@ ---- ./agrep/agrep.c.orig 2000-03-08 18:51:03.000000000 +0000 -+++ ./agrep/agrep.c 2014-01-27 21:40:18.000000000 +0000 -@@ -3,6 +3,7 @@ - * bgopal: (1993-4) added a library interface and removed some bugs: also - * selectively modified many routines to work with our text-compression algo. - */ -+#include <sys/types.h> - #include <sys/stat.h> - #include "agrep.h" - #include "checkfile.h" diff --git a/textproc/glimpse/files/patch-agrep__sgrep.c b/textproc/glimpse/files/patch-agrep__sgrep.c deleted file mode 100644 index 55a58acabfd4..000000000000 --- a/textproc/glimpse/files/patch-agrep__sgrep.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./agrep/sgrep.c.orig 1999-11-01 20:32:58.000000000 +0000 -+++ ./agrep/sgrep.c 2014-01-27 21:40:18.000000000 +0000 -@@ -1539,7 +1539,7 @@ - hash = TR[*text]; - hash = (hash << 3) + TR[*(text-1)]; - shift = SHIFT_2[hash]; -- while(shift) { -+ while(shift && text <= textend) { - text = text + shift; - hash = (TR[*text] << 3) + TR[*(text-1)]; - shift = SHIFT_2[hash]; diff --git a/textproc/glimpse/files/patch-compress__Makefile.in b/textproc/glimpse/files/patch-compress__Makefile.in deleted file mode 100644 index c290e19b1684..000000000000 --- a/textproc/glimpse/files/patch-compress__Makefile.in +++ /dev/null @@ -1,40 +0,0 @@ ---- ./compress/Makefile.in.orig 1999-11-03 20:40:10.000000000 +0000 -+++ ./compress/Makefile.in 2014-01-27 21:42:55.000000000 +0000 -@@ -34,10 +34,10 @@ - AGREPSRC = $(srcdir)/$(AGREP) - TEMPLATE = ../libtemplate - TEMPLATESRC = $(srcdir)/$(TEMPLATE) --DESTDIR = $(srcdir)/../bin -+SRCDIR = $(srcdir)/../bin - all: lib tbuild cast uncast test - --CFLAGS = @CFLAGS@ -O -+CFLAGS = -O @CFLAGS@ - ALL_CFLAGS = $(CFLAGS) $(DEFS) -I$(INDEXSRC) -I$(AGREPSRC) -I$(TEMPLATESRC)/include - - .c.o: -@@ -56,18 +56,18 @@ - - tbuild: hash.o string.o misc.o tbuild.o main_tbuild.o defs.h - $(CC) -o tbuild hash.o string.o misc.o tbuild.o main_tbuild.o -- $(CP) tbuild $(DESTDIR) -- if test -n "$(STRIP)" ; then $(STRIP) $(DESTDIR)/tbuild ; fi -+ $(CP) tbuild $(SRCDIR) -+ if test -n "$(STRIP)" ; then $(STRIP) $(SRCDIR)/tbuild ; fi - - cast: main_cast.o $(LIB) - $(CC) -o cast main_cast.o $(LIBOBJ) -- $(CP) cast $(DESTDIR) -- if test -n "$(STRIP)" ; then $(STRIP) $(DESTDIR)/cast ; fi -+ $(CP) cast $(SRCDIR) -+ if test -n "$(STRIP)" ; then $(STRIP) $(SRCDIR)/cast ; fi - - uncast: main_uncast.o $(LIB) - $(CC) -o uncast main_uncast.o $(LIBOBJ) -- $(CP) uncast $(DESTDIR) -- if test -n "$(STRIP)" ; then $(STRIP) $(DESTDIR)/uncast ; fi -+ $(CP) uncast $(SRCDIR) -+ if test -n "$(STRIP)" ; then $(STRIP) $(SRCDIR)/uncast ; fi - - hash.o: defs.h $(INDEXSRC)/glimpse.h - string.o: defs.h $(INDEXSRC)/glimpse.h diff --git a/textproc/glimpse/files/patch-compress__main_tbuild.c b/textproc/glimpse/files/patch-compress__main_tbuild.c deleted file mode 100644 index d1536541a1bf..000000000000 --- a/textproc/glimpse/files/patch-compress__main_tbuild.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./compress/main_tbuild.c.orig 1999-11-03 20:40:10.000000000 +0000 -+++ ./compress/main_tbuild.c 2014-01-27 21:40:18.000000000 +0000 -@@ -25,7 +25,7 @@ - int - main(argc, argv) - int argc; -- unsigned char *argv[]; -+ char *argv[]; - { - char comp_dir[MAX_LINE_LEN]; - int threshold, specialwords; diff --git a/textproc/glimpse/files/patch-compress__misc.c b/textproc/glimpse/files/patch-compress__misc.c deleted file mode 100644 index 40a8c8f2270c..000000000000 --- a/textproc/glimpse/files/patch-compress__misc.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./compress/misc.c.orig 1999-11-03 20:40:10.000000000 +0000 -+++ ./compress/misc.c 2014-01-27 21:40:18.000000000 +0000 -@@ -288,7 +288,7 @@ - return 1; - } - --uninitialize_common() -+void uninitialize_common() - { - initialize_common_done = 0; - return; diff --git a/textproc/glimpse/files/patch-get_filename.c b/textproc/glimpse/files/patch-get_filename.c deleted file mode 100644 index 0fbc234c2ff2..000000000000 --- a/textproc/glimpse/files/patch-get_filename.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./get_filename.c.orig 1998-04-07 15:54:23.000000000 +0000 -+++ ./get_filename.c 2014-01-27 21:40:18.000000000 +0000 -@@ -481,7 +481,7 @@ - return 0; - } - --get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) -+void get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) - int *index_vect; - int argc; /* the arguments to agrep for -F */ - char *argv[]; diff --git a/textproc/glimpse/files/patch-get_index.c b/textproc/glimpse/files/patch-get_index.c deleted file mode 100644 index 18249b005438..000000000000 --- a/textproc/glimpse/files/patch-get_index.c +++ /dev/null @@ -1,20 +0,0 @@ ---- ./get_index.c.orig 1998-04-07 16:17:54.000000000 +0000 -+++ ./get_index.c 2014-01-27 21:40:18.000000000 +0000 -@@ -52,7 +52,7 @@ - } - - /* Unions offset lists list2 with list1 sorted in increasing order (deletes elements from list2) => changes both list1 and list2: f += #elems added */ --sorted_union(list1, list2, f, pf, cf) -+void sorted_union(list1, list2, f, pf, cf) - struct offsets **list1, **list2; - int *f, pf, cf; - { -@@ -114,7 +114,7 @@ - } - - /* Intersects offset lists list2 with list1 sorted in increasing order (deletes elements from list2) => changes both list1 and list2 */ --sorted_intersection(filenum, list1, list2, f) -+void sorted_intersection(filenum, list1, list2, f) - struct offsets **list1, **list2; - int *f; - { diff --git a/textproc/glimpse/files/patch-index__Makefile.in b/textproc/glimpse/files/patch-index__Makefile.in deleted file mode 100644 index 188d2a06937d..000000000000 --- a/textproc/glimpse/files/patch-index__Makefile.in +++ /dev/null @@ -1,39 +0,0 @@ ---- ./index/Makefile.in.orig 1999-11-01 21:16:29.000000000 +0000 -+++ ./index/Makefile.in 2014-01-27 21:42:55.000000000 +0000 -@@ -38,9 +38,9 @@ - LIBAGREP = agrep - LIBTEMPLATE = template - LIBUTIL = util --DESTDIR = $(srcdir)/../bin -+SRCDIR = $(srcdir)/../bin - --CFLAGS = @CFLAGS@ -O -DSTRUCTURED_QUERIES=1 -+CFLAGS = -O @CFLAGS@ -DSTRUCTURED_QUERIES=1 - ALL_CFLAGS = $(CFLAGS) $(DEFS) -I$(AGREPSRC) -I$(TEMPLATESRC)/include - LINKFLAGS = @LINKFLAGS@ -I$(INDEXSRC) -I$(AGREPSRC) -I$(TEMPLATESRC)/include - -@@ -66,18 +66,18 @@ - - $(CASTPROG): buildcast.o $(OBJS) $(AGREPDIR)/lib$(LIBAGREP).a $(TEMPLATEDIR)/$(LIBTEMPLATE)/lib$(LIBTEMPLATE).a $(TEMPLATEDIR)/$(LIBUTIL)/lib$(LIBUTIL).a $(TCOMPDIR)/lib$(TCOMP).a - $(CC) $(CFLAGS) -L$(AGREPDIR) -L$(TEMPLATEDIR)/$(LIBTEMPLATE) -L$(TEMPLATEDIR)/$(LIBUTIL) -L$(TCOMPDIR) -o $(CASTPROG) buildcast.o $(OBJS) -l$(LIBAGREP) -l$(LIBTEMPLATE) -l$(LIBUTIL) -- $(CP) $(CASTPROG) $(DESTDIR) -- if test -n "$(STRIP)" ; then $(STRIP) $(DESTDIR)/$(CASTPROG) ; fi -+ $(CP) $(CASTPROG) $(SRCDIR) -+ if test -n "$(STRIP)" ; then $(STRIP) $(SRCDIR)/$(CASTPROG) ; fi - - $(PROG): glimpse.o $(OBJS) $(AGREPDIR)/lib$(LIBAGREP).a $(TEMPLATEDIR)/$(LIBTEMPLATE)/lib$(LIBTEMPLATE).a $(TEMPLATEDIR)/$(LIBUTIL)/lib$(LIBUTIL).a $(TCOMPDIR)/lib$(TCOMP).a - $(CC) $(CFLAGS) -L$(AGREPDIR) -L$(TEMPLATEDIR)/$(LIBTEMPLATE) -L$(TEMPLATEDIR)/$(LIBUTIL) -L$(TCOMPDIR) -o $(PROG) glimpse.o $(OBJS) -l$(LIBAGREP) -l$(LIBTEMPLATE) -l$(LIBUTIL) -- $(CP) $(PROG) $(DESTDIR) -- if test -n "$(STRIP)" ; then $(STRIP) $(DESTDIR)/$(PROG) ; fi -+ $(CP) $(PROG) $(SRCDIR) -+ if test -n "$(STRIP)" ; then $(STRIP) $(SRCDIR)/$(PROG) ; fi - - wgconvert: convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o $(AGREPDIR)/lib$(LIBAGREP).a $(TEMPLATEDIR)/$(LIBTEMPLATE)/lib$(LIBTEMPLATE).a $(TEMPLATEDIR)/$(LIBUTIL)/lib$(LIBUTIL).a $(TCOMPDIR)/lib$(TCOMP).a - $(CC) $(CFLAGS) -L$(AGREPDIR) -L$(TEMPLATEDIR)/$(LIBTEMPLATE) -L$(TEMPLATEDIR)/$(LIBUTIL) -L$(TCOMPDIR) -o wgconvert convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o -l$(LIBAGREP) -l$(LIBTEMPLATE) -l$(LIBUTIL) -- $(CP) wgconvert $(DESTDIR) -- if test -n "$(STRIP)" ; then $(STRIP) $(DESTDIR)/wgconvert ; fi -+ $(CP) wgconvert $(SRCDIR) -+ if test -n "$(STRIP)" ; then $(STRIP) $(SRCDIR)/wgconvert ; fi - - $(TEMPLATEDIR)/$(LIBTEMPLATE)/lib$(LIBTEMPLATE).a: - cd $(TEMPLATEDIR) ; $(MAKE) diff --git a/textproc/glimpse/files/patch-index__build_in.c b/textproc/glimpse/files/patch-index__build_in.c deleted file mode 100644 index 1ef8bf3ef756..000000000000 --- a/textproc/glimpse/files/patch-index__build_in.c +++ /dev/null @@ -1,69 +0,0 @@ ---- ./index/build_in.c.orig 1999-11-01 21:19:27.000000000 +0000 -+++ ./index/build_in.c 2014-01-27 21:40:18.000000000 +0000 -@@ -44,8 +44,12 @@ - extern struct stat excstbuf; - extern struct stat incstbuf; - -+void build_hash(); -+void init_hash_table(); - void insert_h(); - void insert_index(); -+void merge_in(FILE *, FILE *, FILE *); -+void remove_filename(int, int); - - extern int ICurrentFileOffset; - extern int NextICurrentFileOffset; -@@ -124,7 +128,7 @@ - extern int HashTableSize; - struct token **hash_table; /*[MAX_64K_HASH];*/ - --build_index() -+void build_index() - { - int i; - -@@ -598,7 +602,7 @@ - #endif - } - --traverse1() -+void traverse1() - { - FILE *i1, *i2, *i3; - int ret; -@@ -780,7 +784,7 @@ - input: a set of filenames in name_list[], a partition table p_table[] - output: a hash table hash_table[]. - -----------------------------------------------------------------------*/ --build_hash() -+void build_hash() - { - int fd; /* opened file number */ - int i, pn; /* pn: current partition */ -@@ -1229,7 +1233,7 @@ - my_free(buffer_begin, BLOCK_SIZE + 10); - } - --init_hash_table() -+void init_hash_table() - { - int i; - -@@ -1480,7 +1484,7 @@ - extern unsigned char *merge_index_buf; - - /* merge index file f1 and f2, then put the result in index file f3 */ --merge_in(f1, f2, f3) -+void merge_in(f1, f2, f3) - FILE *f1, *f2, *f3; - { - int src_mark, dest_mark; -@@ -1858,7 +1862,7 @@ - return; - } - --remove_filename(fileindex, new_partition) -+void remove_filename(fileindex, new_partition) - int fileindex, new_partition; - { - if ((fileindex < 0) || (fileindex >= MaxNum24bPartition)) return; diff --git a/textproc/glimpse/files/patch-index__glimpse.c b/textproc/glimpse/files/patch-index__glimpse.c deleted file mode 100644 index 108aea219995..000000000000 --- a/textproc/glimpse/files/patch-index__glimpse.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./index/glimpse.c.orig 1999-03-02 07:37:55.000000000 +0000 -+++ ./index/glimpse.c 2014-01-27 21:40:18.000000000 +0000 -@@ -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; diff --git a/textproc/glimpse/files/patch-index__io.c b/textproc/glimpse/files/patch-index__io.c deleted file mode 100644 index 57ef1849570b..000000000000 --- a/textproc/glimpse/files/patch-index__io.c +++ /dev/null @@ -1,38 +0,0 @@ ---- ./index/io.c.orig 2000-08-14 23:03:58.000000000 +0000 -+++ ./index/io.c 2014-01-27 21:40:18.000000000 +0000 -@@ -360,7 +360,7 @@ - - - --read_filters(index_dir, dofilter) -+void read_filters(index_dir, dofilter) - char *index_dir; - int dofilter; - { -@@ -1450,7 +1450,7 @@ - return e->index; - } - --insert_filename(name, name_index) -+void insert_filename(name, name_index) - char *name; - int name_index; - { -@@ -1502,7 +1502,7 @@ - (*pe)->index = name_index; - } - --change_filename(name, len, index, newname) -+void change_filename(name, len, index, newname) - char *name; - int len; - int index; -@@ -1524,7 +1524,7 @@ - return; - } - --delete_filename(name, name_index) -+void delete_filename(name, name_index) - char *name; - int name_index; - { diff --git a/textproc/glimpse/files/patch-index__region.c b/textproc/glimpse/files/patch-index__region.c deleted file mode 100644 index c11d86c174d4..000000000000 --- a/textproc/glimpse/files/patch-index__region.c +++ /dev/null @@ -1,11 +0,0 @@ ---- ./index/region.c.orig 1999-03-02 07:38:34.000000000 +0000 -+++ ./index/region.c 2014-01-27 21:40:18.000000000 +0000 -@@ -168,7 +168,7 @@ - } - - /* Looks for embedded attributes and copies the real attribute into dest */ --attr_extract(dest, src) -+void attr_extract(dest, src) - char *dest, *src; - { - char *oldsrc = src; diff --git a/textproc/glimpse/files/patch-libtemplate__include__autoconf.h.in b/textproc/glimpse/files/patch-libtemplate__include__autoconf.h.in deleted file mode 100644 index a10511ba3461..000000000000 --- a/textproc/glimpse/files/patch-libtemplate__include__autoconf.h.in +++ /dev/null @@ -1,46 +0,0 @@ ---- ./libtemplate/include/autoconf.h.in.orig 1999-11-03 21:40:56.000000000 +0000 -+++ ./libtemplate/include/autoconf.h.in 2014-01-27 21:40:18.000000000 +0000 -@@ -108,7 +108,7 @@ - #undef HAVE_BZERO - - /* Define if you have flock. */ --#undef HAVE_FLOCK -+#define HAVE_FLOCK - - /* Define if you have fsync. */ - #undef HAVE_FSYNC -@@ -120,7 +120,7 @@ - #undef HAVE_GETCWD - - /* Define if you have getdtablesize. */ --#undef HAVE_GETDTABLESIZE -+#define HAVE_GETDTABLESIZE - - /* Define if you have lrand48. */ - #undef HAVE_LRAND48 -@@ -144,10 +144,10 @@ - #undef HAVE_RENAME - - /* Define if you have setlinebuf. */ --#undef HAVE_SETLINEBUF -+#define HAVE_SETLINEBUF - - /* Define if you have setrlimit. */ --#undef HAVE_SETRLIMIT -+#define HAVE_SETRLIMIT - - /* Define if you have srand48. */ - #undef HAVE_SRAND48 -@@ -156,10 +156,10 @@ - #undef HAVE_SRANDOM - - /* Define if you have strdup. */ --#undef HAVE_STRDUP -+#define HAVE_STRDUP 1 - - /* Define if you have strerror. */ --#undef HAVE_STRERROR -+#define HAVE_STRERROR - - /* Define if you have sysconf. */ - #undef HAVE_SYSCONF diff --git a/textproc/glimpse/files/patch-libtemplate__template__Makefile.in b/textproc/glimpse/files/patch-libtemplate__template__Makefile.in deleted file mode 100644 index ec45703bf673..000000000000 --- a/textproc/glimpse/files/patch-libtemplate__template__Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- ./libtemplate/template/Makefile.in.orig 1999-11-03 21:41:04.000000000 +0000 -+++ ./libtemplate/template/Makefile.in 2014-01-27 21:42:55.000000000 +0000 -@@ -24,7 +24,7 @@ - DEBUG = $(DEBUG_TOP) #-O #-g #-DDEBUG - DEBUG_LIBS = - --CFLAGS = -O -+CFLAGS = -O @CFLAGS@ - INCLUDE = -I$(srcdir)/../include - ALL_CFLAGS = $(CFLAGS) $(DEBUG) $(INCLUDE) - diff --git a/textproc/glimpse/files/patch-libtemplate__util__Makefile.in b/textproc/glimpse/files/patch-libtemplate__util__Makefile.in deleted file mode 100644 index 858a74796dd1..000000000000 --- a/textproc/glimpse/files/patch-libtemplate__util__Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- ./libtemplate/util/Makefile.in.orig 1999-11-03 20:42:14.000000000 +0000 -+++ ./libtemplate/util/Makefile.in 2014-01-27 21:42:55.000000000 +0000 -@@ -19,7 +19,7 @@ - RANLIB = @RANLIB@ - - INCLUDE = -I$(srcdir)/../include --CFLAGS = -O -+CFLAGS = -O @CFLAGS@ - ALL_CFLAGS = $(CFLAGS) $(DEBUG) $(INCLUDE) - - .c.o: diff --git a/textproc/glimpse/files/patch-main.c b/textproc/glimpse/files/patch-main.c deleted file mode 100644 index 4acec450d26c..000000000000 --- a/textproc/glimpse/files/patch-main.c +++ /dev/null @@ -1,20 +0,0 @@ ---- ./main.c.orig 2000-08-15 22:07:25.000000000 +0000 -+++ ./main.c 2014-01-27 21:40:18.000000000 +0000 -@@ -938,7 +938,7 @@ - - case 'V' : - printf("\nThis is glimpse version %s, %s.\n\n", GLIMPSE_VERSION, GLIMPSE_DATE); -- RETURNMAIN(0); -+ RETURNMAIN(1); - - default : - if (isdigit(c)) quitwhile = ON; -@@ -1063,7 +1063,7 @@ - clargc = 0; - clargv = NULL; - cli_len = sizeof(cli_addr); -- if ((newsockfd = accept(sockfd, &cli_addr, &cli_len)) < 0) continue; -+ if ((newsockfd = accept(sockfd, (struct sockaddr *)&cli_addr, &cli_len)) < 0) continue; - if (getreq(newsockfd, glimpse_reqbuf, &clstdin, &clstdout, &clstderr, &clargc, &clargv, &clpid) < 0) { - ret = -1; - #if DEBUG diff --git a/textproc/glimpse/pkg-descr b/textproc/glimpse/pkg-descr deleted file mode 100644 index 7f7b72c024fc..000000000000 --- a/textproc/glimpse/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -Glimpse (which stands for GLobal IMPlicit SEarch) is an indexing -and query system that allows you to search through all your -files very quickly. For example, finding 296 lines containing -'whitehouse' in 8750 files occupying 104MB took 6 seconds on a -SUN Sparc 5. Glimpse supports most of agrep's options (agrep is our -powerful version of grep) including approximate matching (e.g., -finding mis- spelled words), Boolean queries, and even some limited -forms of regular expressions. It is used in the same way, except that -you don't have to specify file names. So, if you are looking for a -needle anywhere in your file system, all you have to do is say -glimpse needle and all lines containing needle will appear preceded -by the file name. - -WWW: http://webglimpse.net/ diff --git a/textproc/glimpse/pkg-plist b/textproc/glimpse/pkg-plist deleted file mode 100644 index f4e65752199a..000000000000 --- a/textproc/glimpse/pkg-plist +++ /dev/null @@ -1,13 +0,0 @@ -bin/agrep -bin/buildcast -bin/cast -bin/glimpse -bin/glimpseindex -bin/glimpseserver -bin/tbuild -bin/uncast -bin/wgconvert -man/man1/agrep.1.gz -man/man1/glimpse.1.gz -man/man1/glimpseindex.1.gz -man/man1/glimpseserver.1.gz |