diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-01-22 15:17:07 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-01-22 15:17:07 +0000 |
commit | c747625eab499ebdc61773b33ee8da813863cc14 (patch) | |
tree | 820ab7eee6b570a62b351495b4702cc62cddcbe5 /www/swish-e/patches | |
parent | b0d8e108eb2ae9fbd236facfd98fea6dfb535953 (diff) | |
download | pkgsrc-c747625eab499ebdc61773b33ee8da813863cc14.tar.gz |
Update swish-e to 2.4.1, provided by Michal Pasternak in PR pkg/24124 plus
minor changes by me.
Too many changes to list here, please read this link to see the full
list of changes:
http://swish-e.org/current/docs/CHANGES.html (new features, bugfixes, etc).
Diffstat (limited to 'www/swish-e/patches')
-rw-r--r-- | www/swish-e/patches/patch-aa | 48 | ||||
-rw-r--r-- | www/swish-e/patches/patch-ab | 24 |
2 files changed, 0 insertions, 72 deletions
diff --git a/www/swish-e/patches/patch-aa b/www/swish-e/patches/patch-aa deleted file mode 100644 index 0f9daab47e7..00000000000 --- a/www/swish-e/patches/patch-aa +++ /dev/null @@ -1,48 +0,0 @@ -$NetBSD: patch-aa,v 1.2 1999/12/14 16:30:02 bouyer Exp $ - ---- fs.c.orig Wed Jan 6 19:27:02 1999 -+++ fs.c Tue Dec 14 17:12:54 1999 -@@ -41,7 +41,6 @@ - static struct swline *titconlist = 0; - static struct swline *fileislist = 0; - static struct swline *suffixlist = 0; --static struct swline *nocontentslist = 0; - - - /* Have we already indexed a file or directory? -@@ -365,23 +364,28 @@ - int ishtml(filename) - char *filename; - { -- char *c, suffix[MAXSUFFIXLEN]; -+ char *c, *d; - -+ d = (char *) strrchr(filename, '/'); - c = (char *) strrchr(filename, '.'); - -+ /* make sure the . is part of the filename */ -+ if (d != NULL && c < d) { -+ return 0; -+ } -+ - if (c == NULL) - return 0; -- strcpy(suffix, c + 1); -- if (suffix[0] == '\0') -+ if (c++ == '\0') - return 0; - -- if (!strncmp(suffix, "htm", 3)) -+ if (!strncmp(c, "htm", 3)) - return 1; -- else if (!strncmp(suffix, "HTM", 3)) -+ else if (!strncmp(c, "HTM", 3)) - return 1; -- else if (!strncmp(suffix, "shtml", 5)) -+ else if (!strncmp(c, "shtml", 5)) - return 1; -- else if (!strncmp(suffix, "SHTML", 5)) -+ else if (!strncmp(c, "SHTML", 5)) - return 1; - return 0; - } diff --git a/www/swish-e/patches/patch-ab b/www/swish-e/patches/patch-ab deleted file mode 100644 index 151b2dda6e1..00000000000 --- a/www/swish-e/patches/patch-ab +++ /dev/null @@ -1,24 +0,0 @@ -$NetBSD: patch-ab,v 1.4 2001/03/13 15:41:52 zuntum Exp $ - ---- Makefile.orig Wed Jan 6 19:17:49 1999 -+++ Makefile -@@ -8,11 +8,9 @@ - #CC= /opt/SUNWspro/bin/cc - #CC= /usr/ccs/bin/ucbcc - #CC = /vol/moby/moby_a/gnu/sun4_sunos5.1/bin/gcc --CC = /usr/local/bin/gcc - #CC = gcc - - #CFLAGS = -Xa --CFLAGS= -O2 - #CFLAGS=-g - - LIBS= -lm -@@ -37,7 +35,6 @@ - swish-e: - make CFLAGS="-g" $(OBJS) - $(CC) -o swish-e -g $(CFLAGS) $(OBJS) $(LIBS) -- chmod 755 swish-e - - quant: - make CFLAGS="-g" $(OBJS) |