summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-02-23 22:19:41 +0000
committertron <tron@pkgsrc.org>2001-02-23 22:19:41 +0000
commit5f9bf259d6ad58c1842b8a36c02d7134b8069d65 (patch)
tree4e5478f034fc6b2d38766b6bdfee1d7c3ab1bd02 /news
parente9d34197ea4175fb12989dfdd171517fd09cbcd6 (diff)
downloadpkgsrc-5f9bf259d6ad58c1842b8a36c02d7134b8069d65.tar.gz
Add IPv6 support and bump version number to 1.0nb2.
Diffstat (limited to 'news')
-rw-r--r--news/knews/Makefile13
-rw-r--r--news/knews/files/patch-sum26
-rw-r--r--news/knews/patches/patch-af25
-rw-r--r--news/knews/patches/patch-ag137
-rw-r--r--news/knews/patches/patch-ah35
-rw-r--r--news/knews/patches/patch-ai43
-rw-r--r--news/knews/patches/patch-aj18
-rw-r--r--news/knews/patches/patch-ak12
-rw-r--r--news/knews/patches/patch-al12
-rw-r--r--news/knews/patches/patch-am14
-rw-r--r--news/knews/patches/patch-an12
-rw-r--r--news/knews/patches/patch-ao14
-rw-r--r--news/knews/patches/patch-ap12
-rw-r--r--news/knews/patches/patch-aq20
-rw-r--r--news/knews/patches/patch-ar12
-rw-r--r--news/knews/patches/patch-as12
-rw-r--r--news/knews/patches/patch-at12
-rw-r--r--news/knews/patches/patch-au12
-rw-r--r--news/knews/patches/patch-av12
-rw-r--r--news/knews/patches/patch-aw12
-rw-r--r--news/knews/patches/patch-ax12
-rw-r--r--news/knews/patches/patch-ay12
-rw-r--r--news/knews/patches/patch-az12
-rw-r--r--news/knews/patches/patch-ba12
-rw-r--r--news/knews/patches/patch-bb12
-rw-r--r--news/knews/patches/patch-bc12
26 files changed, 531 insertions, 6 deletions
diff --git a/news/knews/Makefile b/news/knews/Makefile
index d85869b547c..d795e896ffd 100644
--- a/news/knews/Makefile
+++ b/news/knews/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.27 2001/02/17 17:54:47 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2001/02/23 22:19:41 tron Exp $
DISTNAME= knews-1.0b.1
-PKGNAME= knews-1.0b1
+PKGNAME= knews-1.0nb2
CATEGORIES= news x11
MASTER_SITES= http://www.matematik.su.se/~kjj/
-MAINTAINER= packages@netbsd.org
+MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.matematik.su.se/~kjj/
COMMENT= X11 newsreader with support for threading and MIME
@@ -35,11 +35,14 @@ post-extract:
post-patch:
.if defined(KNEWS_DOMAIN_FILE)
- ${ECHO_MSG} >>${WRKSRC}/configure.h \
+ ${ECHO} >>${WRKSRC}/configure.h \
"#define DOMAIN_FILE \"${KNEWS_DOMAIN_FILE}\""
.elif defined(KNEWS_DOMAIN_NAME)
- ${ECHO_MSG} >>${WRKSRC}/configure.h \
+ ${ECHO} >>${WRKSRC}/configure.h \
"#define DOMAIN_NAME \"${KNEWS_DOMAIN_NAME}\""
.endif
+.if defined(USE_INET6) && ${USE_INET6} == YES
+ ${ECHO} >>${WRKSRC}/configure.h "#define USE_INET6 YES"
+.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/news/knews/files/patch-sum b/news/knews/files/patch-sum
index cd170c703a0..d93f20efbe5 100644
--- a/news/knews/files/patch-sum
+++ b/news/knews/files/patch-sum
@@ -1,7 +1,31 @@
-$NetBSD: patch-sum,v 1.4 2000/08/01 21:59:25 tron Exp $
+$NetBSD: patch-sum,v 1.5 2001/02/23 22:19:41 tron Exp $
MD5 (patch-aa) = 95cd0655c3bc770d6450343e204ecf97
MD5 (patch-ab) = a7803c0d155e79576a8f0d4e94933786
MD5 (patch-ac) = b377e050b3aad321de2ef795395a1ac8
MD5 (patch-ad) = 42f9dd9fdfdca698de9b849f4a8dea54
MD5 (patch-ae) = 166cf61034320c7f90c68f7db4bfad1c
+MD5 (patch-af) = ad4e19fce0fb73c50338440d0e6a0acf
+MD5 (patch-ag) = 341e0ec9dbc24ea5bc7cd760933937c6
+MD5 (patch-ah) = 7cd2ede2df1bab2ed952070d2fab6ae5
+MD5 (patch-ai) = ee3eadf8b41933f0cb25e646df210e93
+MD5 (patch-aj) = 1728399cf60b4c9c1bda9d3790edf6e8
+MD5 (patch-ak) = 2d1dd4096bbbff6a4f75afda3a454537
+MD5 (patch-al) = d01ee21b4c0c6ca45c9b8ab8bd79bb43
+MD5 (patch-am) = 5b1a893cc22d5605fb6988a731d441f4
+MD5 (patch-an) = a46f948233a4220d7323d92366cc1827
+MD5 (patch-ao) = 7bce0ab56cbba3dcac936a1286a26c02
+MD5 (patch-ap) = 8eb9283da5a1cabacc8a444d55afe6b5
+MD5 (patch-aq) = 609bc8fbb5255911f101de2c9d929383
+MD5 (patch-ar) = 2cb0b541f00859e920bc91a4b5e150a6
+MD5 (patch-as) = 78b489aada6b25742fd685d0adfd153b
+MD5 (patch-at) = fe938fc99e11a8edc69479732dd5b139
+MD5 (patch-au) = bf672aeb3a681403aab002f02a9dff15
+MD5 (patch-av) = 1ad60c13cf058f5562f032764cf6e3a3
+MD5 (patch-aw) = b0728c15c68f1089a29eca121c9a5a7e
+MD5 (patch-ax) = f997987639dfd9b61db0e6251cdd1e69
+MD5 (patch-ay) = 04af83f040d847826c6950308487c8ca
+MD5 (patch-az) = 450fb148f632c7555deec0d0440c0b93
+MD5 (patch-ba) = 59029d5338552d2da44f8e0a6c2ef048
+MD5 (patch-bb) = afb2b68cdf08bd757a2543a055a764a6
+MD5 (patch-bc) = cad8d9172dce5eeb1675320254928948
diff --git a/news/knews/patches/patch-af b/news/knews/patches/patch-af
new file mode 100644
index 00000000000..66a17b429c8
--- /dev/null
+++ b/news/knews/patches/patch-af
@@ -0,0 +1,25 @@
+$NetBSD: patch-af,v 1.3 2001/02/23 22:19:42 tron Exp $
+
+--- src/sysdeps.h.orig Fri Jan 9 18:16:24 1998
++++ src/sysdeps.h Fri Feb 23 22:08:23 2001
+@@ -2,7 +2,11 @@
+ * Copyright (C) 1995, 1996 Karl-Johan Johnsson.
+ */
+
++#if defined(USE_INET6)
++typedef struct addrinfo SERV_ADDR;
++#else
+ typedef struct SERV_ADDR SERV_ADDR;
++#endif
+
+ #define NNTP_PORT 119
+ #define FTP_PORT 21
+@@ -14,7 +18,7 @@
+ extern void abort_callback(Widget, XtPointer, XtPointer);
+
+ extern SERV_ADDR *get_host(char*, unsigned short, int);
+-extern int open_socket(void);
++extern int open_socket(int);
+ extern int connect_socket(int, SERV_ADDR*);
+ extern int open_duplex(int*);
+ extern int bind_and_listen(int);
diff --git a/news/knews/patches/patch-ag b/news/knews/patches/patch-ag
new file mode 100644
index 00000000000..0e7aefcfbbb
--- /dev/null
+++ b/news/knews/patches/patch-ag
@@ -0,0 +1,137 @@
+$NetBSD: patch-ag,v 1.3 2001/02/23 22:19:42 tron Exp $
+
+--- src/sysdeps.c.orig Tue Dec 29 11:46:52 1998
++++ src/sysdeps.c Fri Feb 23 23:11:36 2001
+@@ -20,8 +20,8 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+
+-#include "server.h"
+ #include "sysdeps.h"
++#include "server.h"
+
+ #undef PURIFY_HACK
+ /*#define PURIFY_HACK*/
+@@ -96,6 +96,9 @@
+ #ifdef EINPROGRESS
+ err_no == EINPROGRESS ||
+ #endif
++#ifdef EALREADY
++ err_no == EALREADY ||
++#endif
+ err_no == EAGAIN);
+ }
+
+@@ -256,10 +259,12 @@
+
+ /***********************************************************************/
+
++#if !defined(USE_INET6)
+ struct SERV_ADDR {
+ struct in_addr addr;
+ unsigned short port;
+ };
++#endif
+
+ /*
+ * host: either "hostname:port" or "ip.ip.ip.ip:port",
+@@ -271,6 +276,28 @@
+ */
+ SERV_ADDR *get_host(char *host, unsigned short def_port, int byte_swap)
+ {
++#if defined(USE_INET6)
++ char *c, *port, buffer[6];
++ struct addrinfo hints, *res;
++
++ port = 0;
++ c = strchr(host, ':');
++ if (c) {
++ *c = '\0';
++ if (c[1] >= '0' && c[1] <= '9')
++ port = c + 1;
++ }
++ if (!port) {
++ sprintf(buffer, "%d", def_port);
++ port = buffer;
++ }
++
++ memset(&hints, '\0', sizeof(hints));
++ hints.ai_family = AF_UNSPEC;
++ hints.ai_socktype = SOCK_STREAM;
++ hints.ai_protocol = 0;
++ return getaddrinfo(host, port, &hints, &res) ? NULL : res;
++#else
+ SERV_ADDR *ret;
+ struct in_addr addr;
+ unsigned short port;
+@@ -332,14 +359,15 @@
+ ret->port = port;
+
+ return ret;
++#endif
+ }
+
+-int open_socket(void)
++int open_socket(int family)
+ {
+ int fd, tmp;
+
+ do {
+- fd = socket(PF_INET, SOCK_STREAM, 0);
++ fd = socket(family, SOCK_STREAM, 0);
+ } while (fd < 0 && errno == EINTR);
+
+ if (fd < 0) {
+@@ -372,6 +400,35 @@
+
+ int connect_socket(int fd, SERV_ADDR *addr)
+ {
++#ifdef USE_INET6
++ int family;
++
++ family = AF_INET;
++ while (addr) {
++ if (family != addr->ai_family) {
++ int newsocket;
++
++ newsocket = open_socket(addr->ai_family);
++ if (newsocket < 0)
++ return -1;
++ if (dup2(newsocket, fd) < 0)
++ close(newsocket);
++
++ close(newsocket);
++ family = addr->ai_family;
++ }
++
++ do {
++ if ((connect(fd, addr->ai_addr, addr->ai_addrlen) == 0) ||
++ (errno == EISCONN))
++ return 0;
++ } while (would_block(fd, errno));
++
++ addr = addr->ai_next;
++ }
++
++ return -1;
++#else
+ struct sockaddr_in serv_addr;
+ int tmp;
+
+@@ -390,6 +447,7 @@
+ } while (tmp < 0 && errno == EINTR);
+
+ return tmp;
++#endif
+ }
+
+ #if 0 /* Misc stuff for ftp routines */
+@@ -548,7 +606,7 @@
+ char *get_mailhostname(void)
+ {
+ struct utsname un = {{0,},};
+- char *host = NULL, *domain;
++ char *host = NULL;
+
+ #ifdef PURIFY_HACK
+ return NULL;
diff --git a/news/knews/patches/patch-ah b/news/knews/patches/patch-ah
new file mode 100644
index 00000000000..d3c4b634d5f
--- /dev/null
+++ b/news/knews/patches/patch-ah
@@ -0,0 +1,35 @@
+$NetBSD: patch-ah,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/xutil.c.orig Fri Jan 9 18:16:20 1998
++++ src/xutil.c Fri Feb 23 22:44:30 2001
+@@ -18,6 +18,7 @@
+ #include "resource.h"
+ #include "save.h"
+ #include "search.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "tag.h"
+ #include "thread.h"
+@@ -40,6 +41,10 @@
+ #include <X11/xpm.h>
+ #endif
+
++#if defined(USE_INET6)
++#include <netdb.h>
++#endif
++
+ void set_curr_art(ARTICLE *art, int center)
+ {
+ if (global.mode == NewsModeThread) {
+@@ -343,7 +348,11 @@
+ qf(main_server);
+
+ server_close(main_server);
++#if defined(USE_INET6)
++ freeaddrinfo(global.serv_addr);
++#else
+ XtFree(global.serv_addr);
++#endif
+ global.serv_addr = NULL;
+
+ clear_thread_context(main_thr);
diff --git a/news/knews/patches/patch-ai b/news/knews/patches/patch-ai
new file mode 100644
index 00000000000..dd50db50ba2
--- /dev/null
+++ b/news/knews/patches/patch-ai
@@ -0,0 +1,43 @@
+$NetBSD: patch-ai,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/server.c.orig Fri Jan 9 18:16:22 1998
++++ src/server.c Fri Feb 23 22:41:48 2001
+@@ -2,19 +2,21 @@
+ * Copyright (C) 1995, 1996 Karl-Johan Johnsson.
+ */
+
++#include <sys/types.h>
++#include <sys/socket.h>
++
+ #include "global.h"
+ #include "child.h"
+ #include "codes.h"
+ #include "connect.h"
+ #include "file.h"
+ #include "resource.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "util.h"
+ #include "widgets.h"
+ #include "xutil.h"
+
+-#include "sysdeps.h"
+-
+ struct SERVER {
+ int fd;
+ char *buffer;
+@@ -128,12 +130,12 @@
+ * tell != 0 means tell about errors
+ * tell > 1 means say what you're doing
+ */
+-int server_open(SERVER *server, struct SERV_ADDR *addr, int tell)
++int server_open(SERVER *server, SERV_ADDR *addr, int tell)
+ {
+ long tmp;
+
+ server_close(server);
+- server->fd = open_socket();
++ server->fd = open_socket(AF_INET);
+ if (server->fd < 0) {
+ set_message("Error: Failed to create socket!", True);
+ return -1;
diff --git a/news/knews/patches/patch-aj b/news/knews/patches/patch-aj
new file mode 100644
index 00000000000..94b751be774
--- /dev/null
+++ b/news/knews/patches/patch-aj
@@ -0,0 +1,18 @@
+$NetBSD: patch-aj,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/server.h.orig Fri Jan 9 18:16:20 1998
++++ src/server.h Fri Feb 23 22:26:47 2001
+@@ -7,12 +7,11 @@
+
+ typedef struct SERVER SERVER;
+ typedef void (*QuitFunc)(void*);
+-struct SERV_ADDR;
+
+ extern SERVER *server_create(int);
+ extern void server_free(SERVER*);
+ extern void server_close(SERVER*);
+-extern int server_open(SERVER*, struct SERV_ADDR*, int);
++extern int server_open(SERVER*, SERV_ADDR*, int);
+ extern int server_fork(SERVER*, char*, int);
+ extern long server_write_raw(SERVER*, char*, long);
+ extern int server_write(SERVER*, char*);
diff --git a/news/knews/patches/patch-ak b/news/knews/patches/patch-ak
new file mode 100644
index 00000000000..ca6952f587d
--- /dev/null
+++ b/news/knews/patches/patch-ak
@@ -0,0 +1,12 @@
+$NetBSD: patch-ak,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/actions.c.orig Fri Jan 9 18:16:22 1998
++++ src/actions.c Fri Feb 23 22:27:59 2001
+@@ -7,6 +7,7 @@
+ #include "procs.h"
+ #include "read.h"
+ #include "search.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "thread.h"
+ #include "util.h"
diff --git a/news/knews/patches/patch-al b/news/knews/patches/patch-al
new file mode 100644
index 00000000000..c1bf3806196
--- /dev/null
+++ b/news/knews/patches/patch-al
@@ -0,0 +1,12 @@
+$NetBSD: patch-al,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/ahead.c.orig Wed Oct 21 18:25:44 1998
++++ src/ahead.c Fri Feb 23 22:28:47 2001
+@@ -12,6 +12,7 @@
+ #include "newsrc.h"
+ #include "parse.h"
+ #include "resource.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "thread.h"
+ #include "util.h"
diff --git a/news/knews/patches/patch-am b/news/knews/patches/patch-am
new file mode 100644
index 00000000000..cef122bf252
--- /dev/null
+++ b/news/knews/patches/patch-am
@@ -0,0 +1,14 @@
+$NetBSD: patch-am,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/bg.c.orig Fri Jan 9 18:16:19 1998
++++ src/bg.c Fri Feb 23 22:29:35 2001
+@@ -6,8 +6,8 @@
+ #include "bg.h"
+ #include "codes.h"
+ #include "resource.h"
+-#include "server.h"
+ #include "sysdeps.h"
++#include "server.h"
+ #include "widgets.h"
+ #include "xutil.h"
+ #include "../Widgets/ScrList.h"
diff --git a/news/knews/patches/patch-an b/news/knews/patches/patch-an
new file mode 100644
index 00000000000..1b2f4277f1d
--- /dev/null
+++ b/news/knews/patches/patch-an
@@ -0,0 +1,12 @@
+$NetBSD: patch-an,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/cache.c.orig Fri Jan 9 18:16:24 1998
++++ src/cache.c Fri Feb 23 22:30:25 2001
+@@ -8,6 +8,7 @@
+ #include "codes.h"
+ #include "file.h"
+ #include "resource.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "thread.h"
+ #include "util.h"
diff --git a/news/knews/patches/patch-ao b/news/knews/patches/patch-ao
new file mode 100644
index 00000000000..2ea01e14546
--- /dev/null
+++ b/news/knews/patches/patch-ao
@@ -0,0 +1,14 @@
+$NetBSD: patch-ao,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/connect.c.orig Fri Jan 9 18:16:28 1998
++++ src/connect.c Fri Feb 23 22:31:08 2001
+@@ -13,8 +13,8 @@
+ #include "newsrc.h"
+ #include "resource.h"
+ #include "file.h"
+-#include "server.h"
+ #include "sysdeps.h"
++#include "server.h"
+ #include "util.h"
+ #include "widgets.h"
+ #include "xutil.h"
diff --git a/news/knews/patches/patch-ap b/news/knews/patches/patch-ap
new file mode 100644
index 00000000000..30cdd22dbae
--- /dev/null
+++ b/news/knews/patches/patch-ap
@@ -0,0 +1,12 @@
+$NetBSD: patch-ap,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/k_file.c.orig Fri Jan 9 18:16:24 1998
++++ src/k_file.c Fri Feb 23 22:31:53 2001
+@@ -12,6 +12,7 @@
+ #include "k_kill.h"
+ #include "k_node.h"
+ #include "resource.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "util.h"
+ #include "thread.h"
diff --git a/news/knews/patches/patch-aq b/news/knews/patches/patch-aq
new file mode 100644
index 00000000000..48814f7ef5b
--- /dev/null
+++ b/news/knews/patches/patch-aq
@@ -0,0 +1,20 @@
+$NetBSD: patch-aq,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/main.c.orig Sat Nov 21 15:43:37 1998
++++ src/main.c Fri Feb 23 22:33:25 2001
+@@ -21,14 +21,13 @@
+ #include "read.h"
+ #include "resource.h"
+ #include "save.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "tag.h"
+ #include "thread.h"
+ #include "uudecode.h"
+ #include "widgets.h"
+ #include "xutil.h"
+-
+-#include "sysdeps.h"
+
+ struct Global global = {0, };
+ XtAppContext app_cont;
diff --git a/news/knews/patches/patch-ar b/news/knews/patches/patch-ar
new file mode 100644
index 00000000000..11f2b82e59a
--- /dev/null
+++ b/news/knews/patches/patch-ar
@@ -0,0 +1,12 @@
+$NetBSD: patch-ar,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/misc.c.orig Sun Aug 23 14:07:29 1998
++++ src/misc.c Fri Feb 23 22:33:57 2001
+@@ -16,6 +16,7 @@
+ #include "resource.h"
+ #include "save.h"
+ #include "search.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "tag.h"
+ #include "thread.h"
diff --git a/news/knews/patches/patch-as b/news/knews/patches/patch-as
new file mode 100644
index 00000000000..5b4ea5c308f
--- /dev/null
+++ b/news/knews/patches/patch-as
@@ -0,0 +1,12 @@
+$NetBSD: patch-as,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/newsrc.c.orig Thu Nov 19 09:55:52 1998
++++ src/newsrc.c Fri Feb 23 22:34:40 2001
+@@ -9,6 +9,7 @@
+ #include "file.h"
+ #include "newsrc.h"
+ #include "resource.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "util.h"
+ #include "widgets.h"
diff --git a/news/knews/patches/patch-at b/news/knews/patches/patch-at
new file mode 100644
index 00000000000..70e80382a2d
--- /dev/null
+++ b/news/knews/patches/patch-at
@@ -0,0 +1,12 @@
+$NetBSD: patch-at,v 1.1 2001/02/23 22:19:42 tron Exp $
+
+--- src/p_menu.c.orig Fri Jan 9 18:16:28 1998
++++ src/p_menu.c Fri Feb 23 22:35:22 2001
+@@ -14,6 +14,7 @@
+ #include "p_post.h"
+ #include "p_setup.h"
+ #include "resource.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "util.h"
+ #include "widgets.h"
diff --git a/news/knews/patches/patch-au b/news/knews/patches/patch-au
new file mode 100644
index 00000000000..9857afb5f24
--- /dev/null
+++ b/news/knews/patches/patch-au
@@ -0,0 +1,12 @@
+$NetBSD: patch-au,v 1.1 2001/02/23 22:19:43 tron Exp $
+
+--- src/p_post.c.orig Fri Jan 9 18:16:21 1998
++++ src/p_post.c Fri Feb 23 22:36:04 2001
+@@ -16,6 +16,7 @@
+ #include "p_popup.h"
+ #include "p_post.h"
+ #include "resource.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "thread.h"
+ #include "util.h"
diff --git a/news/knews/patches/patch-av b/news/knews/patches/patch-av
new file mode 100644
index 00000000000..9a8faf094d6
--- /dev/null
+++ b/news/knews/patches/patch-av
@@ -0,0 +1,12 @@
+$NetBSD: patch-av,v 1.1 2001/02/23 22:19:43 tron Exp $
+
+--- src/p_setup.c.orig Sun Aug 23 15:05:17 1998
++++ src/p_setup.c Fri Feb 23 22:36:39 2001
+@@ -14,6 +14,7 @@
+ #include "p_setup.h"
+ #include "parse.h"
+ #include "resource.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "util.h"
+ #include "xutil.h"
diff --git a/news/knews/patches/patch-aw b/news/knews/patches/patch-aw
new file mode 100644
index 00000000000..23c6c4cb789
--- /dev/null
+++ b/news/knews/patches/patch-aw
@@ -0,0 +1,12 @@
+$NetBSD: patch-aw,v 1.1 2001/02/23 22:19:43 tron Exp $
+
+--- src/partial.c.orig Fri Jan 9 18:16:22 1998
++++ src/partial.c Fri Feb 23 22:37:36 2001
+@@ -12,6 +12,7 @@
+ #include "partial.h"
+ #include "read.h"
+ #include "resource.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "tag.h"
+ #include "thread.h"
diff --git a/news/knews/patches/patch-ax b/news/knews/patches/patch-ax
new file mode 100644
index 00000000000..d762e1126f7
--- /dev/null
+++ b/news/knews/patches/patch-ax
@@ -0,0 +1,12 @@
+$NetBSD: patch-ax,v 1.1 2001/02/23 22:19:43 tron Exp $
+
+--- src/procs.c.orig Sun Aug 23 14:48:43 1998
++++ src/procs.c Fri Feb 23 22:38:20 2001
+@@ -15,6 +15,7 @@
+ #include "resource.h"
+ #include "save.h"
+ #include "search.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "tag.h"
+ #include "thread.h"
diff --git a/news/knews/patches/patch-ay b/news/knews/patches/patch-ay
new file mode 100644
index 00000000000..155b0b5c98b
--- /dev/null
+++ b/news/knews/patches/patch-ay
@@ -0,0 +1,12 @@
+$NetBSD: patch-ay,v 1.1 2001/02/23 22:19:43 tron Exp $
+
+--- src/read.c.orig Sat Nov 21 15:57:49 1998
++++ src/read.c Fri Feb 23 22:38:56 2001
+@@ -16,6 +16,7 @@
+ #include "read.h"
+ #include "resource.h"
+ #include "save.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "tag.h"
+ #include "util.h"
diff --git a/news/knews/patches/patch-az b/news/knews/patches/patch-az
new file mode 100644
index 00000000000..7280bab6535
--- /dev/null
+++ b/news/knews/patches/patch-az
@@ -0,0 +1,12 @@
+$NetBSD: patch-az,v 1.1 2001/02/23 22:19:43 tron Exp $
+
+--- src/save.c.orig Sun Aug 23 13:03:06 1998
++++ src/save.c Fri Feb 23 22:39:36 2001
+@@ -11,6 +11,7 @@
+ #include "connect.h"
+ #include "file.h"
+ #include "save.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "tag.h"
+ #include "util.h"
diff --git a/news/knews/patches/patch-ba b/news/knews/patches/patch-ba
new file mode 100644
index 00000000000..0a084956d85
--- /dev/null
+++ b/news/knews/patches/patch-ba
@@ -0,0 +1,12 @@
+$NetBSD: patch-ba,v 1.1 2001/02/23 22:19:43 tron Exp $
+
+--- src/search.c.orig Fri Jan 9 18:16:22 1998
++++ src/search.c Fri Feb 23 22:40:18 2001
+@@ -9,6 +9,7 @@
+ #include "newsrc.h"
+ #include "read.h"
+ #include "search.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "tag.h"
+ #include "thread.h"
diff --git a/news/knews/patches/patch-bb b/news/knews/patches/patch-bb
new file mode 100644
index 00000000000..2d9cd5e9473
--- /dev/null
+++ b/news/knews/patches/patch-bb
@@ -0,0 +1,12 @@
+$NetBSD: patch-bb,v 1.1 2001/02/23 22:19:43 tron Exp $
+
+--- src/thread.c.orig Sun Aug 23 16:24:22 1998
++++ src/thread.c Fri Feb 23 22:43:07 2001
+@@ -17,6 +17,7 @@
+ #include "parse.h"
+ #include "read.h"
+ #include "resource.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "sort.h"
+ #include "thread.h"
diff --git a/news/knews/patches/patch-bc b/news/knews/patches/patch-bc
new file mode 100644
index 00000000000..8f4f82226db
--- /dev/null
+++ b/news/knews/patches/patch-bc
@@ -0,0 +1,12 @@
+$NetBSD: patch-bc,v 1.1 2001/02/23 22:19:43 tron Exp $
+
+--- src/uudecode.c.orig Fri Jan 9 18:16:22 1998
++++ src/uudecode.c Fri Feb 23 22:43:53 2001
+@@ -8,6 +8,7 @@
+ #include "file.h"
+ #include "resource.h"
+ #include "save.h"
++#include "sysdeps.h"
+ #include "server.h"
+ #include "util.h"
+ #include "uudecode.h"