pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ywho Make this package build with gcc-4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1f528356626
branches:  trunk
changeset: 512454:e1f528356626
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed May 10 06:13:51 2006 +0000

description:
Make this package build with gcc-4.

diffstat:

 net/ywho/distinfo         |   3 ++-
 net/ywho/patches/patch-aa |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r d9e0e7891e13 -r e1f528356626 net/ywho/distinfo
--- a/net/ywho/distinfo Wed May 10 05:41:40 2006 +0000
+++ b/net/ywho/distinfo Wed May 10 06:13:51 2006 +0000
@@ -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 -r d9e0e7891e13 -r e1f528356626 net/ywho/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ywho/patches/patch-aa Wed May 10 06:13:51 2006 +0000
@@ -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);



Home | Main Index | Thread Index | Old Index