diff options
author | drochner <drochner@pkgsrc.org> | 2006-02-24 23:39:44 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2006-02-24 23:39:44 +0000 |
commit | d6270b234edfa5103ac84f9dd8673aaf5a101f42 (patch) | |
tree | bea37626ae32b89a9145477b4caa94e1dee6608b /net/libpcap | |
parent | 25838711833f464c81125d1082095df9381dbe2b (diff) | |
download | pkgsrc-d6270b234edfa5103ac84f9dd8673aaf5a101f42.tar.gz |
use unsigned ints in filter, to avoid possible portability problems
with bit shifts,
this is part of PR lib/16518 by yamt
(which is filed against base NetBSD sources, but anyway)
Diffstat (limited to 'net/libpcap')
-rw-r--r-- | net/libpcap/distinfo | 3 | ||||
-rw-r--r-- | net/libpcap/patches/patch-ae | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/libpcap/distinfo b/net/libpcap/distinfo index 6d6551a89c5..9f594cc9000 100644 --- a/net/libpcap/distinfo +++ b/net/libpcap/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.14 2006/02/24 22:53:41 drochner Exp $ +$NetBSD: distinfo,v 1.15 2006/02/24 23:39:44 drochner Exp $ SHA1 (libpcap-0.9.4.tar.gz) = 046f7624e66da51eba1ed2cb169695d1e7f31c29 RMD160 (libpcap-0.9.4.tar.gz) = b8adee8f40256b8822e8e8b7da9a9bbd716ff6ab @@ -6,3 +6,4 @@ Size (libpcap-0.9.4.tar.gz) = 425887 bytes SHA1 (patch-ab) = ef8450b6f7ee050fcc40eec8ebdaa3fbb3ebdfe9 SHA1 (patch-ac) = 26148fe8cfbd0502fc13b0381ca31c4d02204b00 SHA1 (patch-ad) = f9d2d6401a62d216b9f0af858fb1adde2098483e +SHA1 (patch-ae) = 5b00f64d503b44d13814e326c5f171c5a20c7eb3 diff --git a/net/libpcap/patches/patch-ae b/net/libpcap/patches/patch-ae new file mode 100644 index 00000000000..9d98c0b1f31 --- /dev/null +++ b/net/libpcap/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1 2006/02/24 23:39:44 drochner Exp $ + +--- optimize.c.orig 2006-02-25 00:31:53.000000000 +0100 ++++ optimize.c +@@ -624,7 +624,7 @@ fold_op(s, v0, v1) + struct stmt *s; + int v0, v1; + { +- bpf_int32 a, b; ++ bpf_u_int32 a, b; + + a = vmap[v0].const_val; + b = vmap[v1].const_val; |