summaryrefslogtreecommitdiff
path: root/net/ywho
diff options
context:
space:
mode:
authorminskim <minskim>2006-05-10 06:13:51 +0000
committerminskim <minskim>2006-05-10 06:13:51 +0000
commitf83fb919f422f5cbe455711d916abc07aa30de4c (patch)
tree84a896cf28d87459234d7863c3d041a330235a6d /net/ywho
parent5574c978033ef168f0c96491a2b401d628620771 (diff)
downloadpkgsrc-f83fb919f422f5cbe455711d916abc07aa30de4c.tar.gz
Make this package build with gcc-4.
Diffstat (limited to 'net/ywho')
-rw-r--r--net/ywho/distinfo3
-rw-r--r--net/ywho/patches/patch-aa21
2 files changed, 23 insertions, 1 deletions
diff --git a/net/ywho/distinfo b/net/ywho/distinfo
index e50b5c56c61..743c8e77d41 100644
--- a/net/ywho/distinfo
+++ b/net/ywho/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:14:08 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/05/10 06:13:51 minskim Exp $
SHA1 (ywho-1.3.tar.gz) = 68dd6b8122b8821c7354254464c1946850753589
RMD160 (ywho-1.3.tar.gz) = e362928ddc5f2bb13ebd86f2be2a9839e33c0df4
Size (ywho-1.3.tar.gz) = 7741 bytes
+SHA1 (patch-aa) = 0662aef67b208679ba67d77c425f28ebc14dbc03
diff --git a/net/ywho/patches/patch-aa b/net/ywho/patches/patch-aa
new file mode 100644
index 00000000000..cc3d8108134
--- /dev/null
+++ b/net/ywho/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1 2006/05/10 06:13:51 minskim Exp $
+
+--- ywho.c.orig 2000-12-17 17:03:10.000000000 +0000
++++ ywho.c
+@@ -351,7 +351,7 @@ char *argv[];
+ }
+ else
+ addhost(argv[i]);
+-nextarg:
++nextarg:;
+ }
+
+ if (hosts == NIL(hosts_t)) {
+@@ -650,7 +650,6 @@ unsigned nth;
+ {
+ #ifndef lint
+ char *ptr;
+- extern char *malloc();
+
+ if ((ptr = malloc(nth)) == NIL(char)) {
+ (void) fprintf(stderr, "%s: Out of memory.\n", pname);