diff options
author | minskim <minskim> | 2006-05-10 06:13:51 +0000 |
---|---|---|
committer | minskim <minskim> | 2006-05-10 06:13:51 +0000 |
commit | 51f433b386673c3ff44ba06d69053f1b182950b3 (patch) | |
tree | 84a896cf28d87459234d7863c3d041a330235a6d /net/ywho | |
parent | 15e4acb539e09f25d26e3d754e9b15306053718b (diff) | |
download | pkgsrc-51f433b386673c3ff44ba06d69053f1b182950b3.tar.gz |
Make this package build with gcc-4.
Diffstat (limited to 'net/ywho')
-rw-r--r-- | net/ywho/distinfo | 3 | ||||
-rw-r--r-- | net/ywho/patches/patch-aa | 21 |
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); |