aboutsummaryrefslogtreecommitdiffstats
path: root/news/newsx
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-10-03 23:39:51 +0800
committerdinoex <dinoex@FreeBSD.org>2001-10-03 23:39:51 +0800
commit7df9b620a4f6b7c65405ae310023a8f12e3e0d18 (patch)
tree1ffda9c4e8bc0e7b6f8eb21263c23a2be80c764e /news/newsx
parent13c17329ad1ac940186dff02aeea71948b04f76c (diff)
downloadfreebsd-ports-gnome-7df9b620a4f6b7c65405ae310023a8f12e3e0d18.tar.gz
freebsd-ports-gnome-7df9b620a4f6b7c65405ae310023a8f12e3e0d18.tar.zst
freebsd-ports-gnome-7df9b620a4f6b7c65405ae310023a8f12e3e0d18.zip
maintainer-update
See Message-ID: <20010908015442.A13609@hairball.treehouse.napa.ca.us> on freebsd-stable. If inn had been built with --enable-tagged-hash, there was history lookups indicating that articles were already present. Apply the following patch provided by G. Paul Ziemba: PR: 30455 Submitted by: thierry@thomas.as
Diffstat (limited to 'news/newsx')
-rw-r--r--news/newsx/Makefile1
-rw-r--r--news/newsx/files/patch-bl34
2 files changed, 35 insertions, 0 deletions
diff --git a/news/newsx/Makefile b/news/newsx/Makefile
index aa4d63e35a4a..edc6bf280b5c 100644
--- a/news/newsx/Makefile
+++ b/news/newsx/Makefile
@@ -7,6 +7,7 @@
PORTNAME= newsx
PORTVERSION= 1.4
+PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= ftp://ftp.kvaleberg.com/pub/
diff --git a/news/newsx/files/patch-bl b/news/newsx/files/patch-bl
new file mode 100644
index 000000000000..a06babe427ed
--- /dev/null
+++ b/news/newsx/files/patch-bl
@@ -0,0 +1,34 @@
+--- src/history.c.orig Thu Apr 8 12:56:13 1999
++++ src/history.c Sun Sep 9 14:00:33 2001
+@@ -6,6 +6,12 @@
+ * the GNU General Public License applies
+ *
+ * $Log: history.c,v $
++ *
++ * Revision x.xx 2001/09/09
++ * patch from G. Paul Ziemba to fix the return of dbzfetch
++ * when inn is built with tagged-hash enabled
++ * (applied by thierry@thomas.as).
++ *
+ * Revision 1.19 1999/04/08 10:56:13 src
+ * *** empty log message ***
+ *
+@@ -142,6 +148,9 @@
+ OFFSET_T offset;
+ # ifdef DO_TAGGED_HASH
+ offset = dbzfetch(key);
++ if (!offset) { /* gpz 010907 start */
++ offset = -1;
++ } /* gpz 010907 end */
+ # else
+ idxrec ionevalue;
+ idxrecext iextvalue;
+@@ -161,6 +170,8 @@
+ log_msg(L_DEBUGMORE,"msgid %s not in history",msgid);
+ return 0;
+ }
++ log_msg(L_DEBUGMORE,"dbzver=6, msgid %s IS in history, off=%d",
++ msgid, offset);
+ }
+ /* OK, we found it */
+ return 1;