summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-09-18 06:28:05 +0000
committertron <tron@pkgsrc.org>2002-09-18 06:28:05 +0000
commit153612c8c0f8f9bd35da21d1d835d055b030a145 (patch)
treedbfe76da1eb538bf411f1ed18018a0905b150634 /news
parent305a8aeca6da1dde24ae3c8a949caef9cbefbab5 (diff)
downloadpkgsrc-153612c8c0f8f9bd35da21d1d835d055b030a145.tar.gz
Fix compiler warning.
Diffstat (limited to 'news')
-rw-r--r--news/nntpclnt/distinfo4
-rw-r--r--news/nntpclnt/patches/patch-aa60
2 files changed, 29 insertions, 35 deletions
diff --git a/news/nntpclnt/distinfo b/news/nntpclnt/distinfo
index 7127b41b29e..cb8cfda5a57 100644
--- a/news/nntpclnt/distinfo
+++ b/news/nntpclnt/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/05/09 20:26:11 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/09/18 06:28:05 tron Exp $
SHA1 (nntpclnt-1.6.1.tar.gz) = df24e9083185680d85bdc016e9e4ba54f4071f80
Size (nntpclnt-1.6.1.tar.gz) = 34369 bytes
-SHA1 (patch-aa) = 166c73c3f551ea5e80d91feceb88176234369bb3
+SHA1 (patch-aa) = 62bcf11bb2cb0b39baf8188816a039165e9e6338
SHA1 (patch-ab) = 2cffb1a1eb68c7520bef6b81d41c924e5aa5be2c
diff --git a/news/nntpclnt/patches/patch-aa b/news/nntpclnt/patches/patch-aa
index 49d854365c6..e702e8a4236 100644
--- a/news/nntpclnt/patches/patch-aa
+++ b/news/nntpclnt/patches/patch-aa
@@ -1,34 +1,28 @@
-$NetBSD: patch-aa,v 1.2 1998/08/07 11:11:12 agc Exp $
+$NetBSD: patch-aa,v 1.3 2002/09/18 06:28:06 tron Exp $
-*** uname.c.orig Wed Mar 25 11:12:00 1998
---- uname.c Wed Mar 25 13:51:09 1998
-***************
-*** 66,79 ****
- char *uptr;
- {
- FILE * uucpf;
-! char * hostname;
- if ((uucpf = fopen(HOSTFILE,"r")) == NULL) {
- fprintf(stderr,"Couldn't open %s to determine hostname. Contact your system administrator.\n",
- HOSTFILE);
- exit(1);
- } else {
- fgets(uptr, 256, uucpf);
-- fclose(tmpfp);
- }
- p = index(uptr, '\n');
- if (p)
---- 66,78 ----
- char *uptr;
- {
- FILE * uucpf;
-! char * p;
- if ((uucpf = fopen(HOSTFILE,"r")) == NULL) {
- fprintf(stderr,"Couldn't open %s to determine hostname. Contact your system administrator.\n",
- HOSTFILE);
- exit(1);
- } else {
- fgets(uptr, 256, uucpf);
- }
- p = index(uptr, '\n');
- if (p)
+--- uname.c.orig Thu Aug 11 23:37:53 1994
++++ uname.c Wed Sep 18 08:26:34 2002
+@@ -16,6 +16,7 @@
+
+ #include <stdio.h>
+ #include "config.h"
++#include <strings.h>
+
+ #ifdef DOUNAME
+ # define DONE
+@@ -66,14 +67,13 @@
+ char *uptr;
+ {
+ FILE * uucpf;
+- char * hostname;
++ char * p;
+ if ((uucpf = fopen(HOSTFILE,"r")) == NULL) {
+ fprintf(stderr,"Couldn't open %s to determine hostname. Contact your system administrator.\n",
+ HOSTFILE);
+ exit(1);
+ } else {
+ fgets(uptr, 256, uucpf);
+- fclose(tmpfp);
+ }
+ p = index(uptr, '\n');
+ if (p)