summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/nntpclnt/distinfo4
-rw-r--r--news/nntpclnt/patches/patch-ab33
2 files changed, 31 insertions, 6 deletions
diff --git a/news/nntpclnt/distinfo b/news/nntpclnt/distinfo
index 2bf89b3201c..a4509a242f3 100644
--- a/news/nntpclnt/distinfo
+++ b/news/nntpclnt/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.7 2005/04/01 03:32:07 kim Exp $
+$NetBSD: distinfo,v 1.8 2010/12/15 03:14:51 chuck Exp $
SHA1 (nntpclnt-1.6.1.tar.gz) = df24e9083185680d85bdc016e9e4ba54f4071f80
RMD160 (nntpclnt-1.6.1.tar.gz) = b3d8ec94d74cc1a0f88264756b89c91fabde0750
Size (nntpclnt-1.6.1.tar.gz) = 34369 bytes
SHA1 (patch-aa) = e4c947e9acdd6f814437409e475b819588c444fa
-SHA1 (patch-ab) = 594f068acbc6794cc4e22c77d3474ea7673a4f87
+SHA1 (patch-ab) = 8d00f429d249319d0cfba7c22d2e292acbef3089
SHA1 (patch-ac) = ed067e2f2c6c22e32ca388dc6f990aa720d762aa
SHA1 (patch-ad) = 1b648dcaba5625326e17ecdce90622a02e207f17
diff --git a/news/nntpclnt/patches/patch-ab b/news/nntpclnt/patches/patch-ab
index bd9ea5af936..fda81659458 100644
--- a/news/nntpclnt/patches/patch-ab
+++ b/news/nntpclnt/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.3 2005/04/01 03:28:36 kim Exp $
+$NetBSD: patch-ab,v 1.4 2010/12/15 03:14:51 chuck Exp $
--- nntpclnt.c.orig 1994-08-11 17:37:51.000000000 -0400
-+++ nntpclnt.c 2005-03-31 22:25:28.000000000 -0500
++++ nntpclnt.c 2010-12-14 22:08:04.000000000 -0500
@@ -24,6 +24,11 @@
* Include configuration parameters only if we're made in the nntp tree.
*/
@@ -26,7 +26,17 @@ $NetBSD: patch-ab,v 1.3 2005/04/01 03:28:36 kim Exp $
#include "nntpclnt.h"
#ifdef NONETDB
# define IPPORT_NNTP ((unsigned short) 119)
-@@ -199,7 +199,7 @@
+@@ -154,7 +154,9 @@
+ static char buf[256];
+ char *index();
+ char *getenv();
++#ifndef strcpy
+ char *strcpy();
++#endif
+
+ if (cp = getenv("NNTPSERVER")) {
+ (void) strcpy(buf, cp);
+@@ -199,7 +201,7 @@
server_init(machine)
char *machine;
{
@@ -35,7 +45,7 @@ $NetBSD: patch-ab,v 1.3 2005/04/01 03:28:36 kim Exp $
char line[256];
char *index();
#if defined(DECNET) || defined(SGI4DDN)
-@@ -248,7 +248,13 @@
+@@ -248,7 +250,13 @@
/* Now get the server's signon message */
(void) get_server(line, sizeof(line));
@@ -50,3 +60,18 @@ $NetBSD: patch-ab,v 1.3 2005/04/01 03:28:36 kim Exp $
}
#ifdef DATAKIT
+@@ -296,6 +304,14 @@
+ *
+ * Errors: Printed via perror.
+ */
++#ifdef h_addr
++/*
++ * would like to include <arpa/inet.h> for the inet_ntoa() prototype,
++ * but we have our own version of inet_addr() that does not match
++ * the prototype in <arpa/inet.h>
++ */
++extern char *inet_ntoa(struct in_addr in);
++#endif
+
+ int
+ get_tcp_socket(machine)