diff options
author | taca <taca@pkgsrc.org> | 2007-10-19 03:48:47 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2007-10-19 03:48:47 +0000 |
commit | c4c173a3016fbd046e64e6bd1af4bf2a409eae97 (patch) | |
tree | 7b5f7e33d6e09ff64ba2b10e49dd696a8e21ede0 /net | |
parent | f59a84c49579fae4baaff0413c59aa0d8ee0940f (diff) | |
download | pkgsrc-c4c173a3016fbd046e64e6bd1af4bf2a409eae97.tar.gz |
Avoid c99'ism.
Diffstat (limited to 'net')
-rw-r--r-- | net/tcpdump/distinfo | 3 | ||||
-rw-r--r-- | net/tcpdump/patches/patch-af | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/net/tcpdump/distinfo b/net/tcpdump/distinfo index 856831c9e05..457650b922e 100644 --- a/net/tcpdump/distinfo +++ b/net/tcpdump/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.15 2007/08/02 15:16:51 taca Exp $ +$NetBSD: distinfo,v 1.16 2007/10/19 03:48:47 taca Exp $ SHA1 (tcpdump-3.9.7.tar.gz) = 5d2a95f0de1cbae70ba01c64f9a2c0fac0183dba RMD160 (tcpdump-3.9.7.tar.gz) = 1c662f61c99121bfc8336eb059b60630cab03998 Size (tcpdump-3.9.7.tar.gz) = 873866 bytes +SHA1 (patch-af) = 5bf681fd99c2436875d7aafb8939fae231e906cf diff --git a/net/tcpdump/patches/patch-af b/net/tcpdump/patches/patch-af new file mode 100644 index 00000000000..e1fdbd96e93 --- /dev/null +++ b/net/tcpdump/patches/patch-af @@ -0,0 +1,18 @@ +$NetBSD: patch-af,v 1.3 2007/10/19 03:48:47 taca Exp $ + +--- print-rsvp.c.orig Thu Jun 14 10:03:21 2007 ++++ print-rsvp.c +@@ -1574,11 +1574,12 @@ rsvp_obj_print (const u_char *tptr, cons + + case RSVP_OBJ_LABEL_SET: + switch(rsvp_obj_ctype) { ++ u_int action, subchannel; ++ + case RSVP_CTYPE_1: + if (obj_tlen < 4) + return-1; + +- u_int action, subchannel; + action = (EXTRACT_16BITS(obj_tptr)>>8); + + printf("%s Action: %s (%u), Label type: %u", ident, |