diff options
author | drochner <drochner> | 2006-02-24 23:39:44 +0000 |
---|---|---|
committer | drochner <drochner> | 2006-02-24 23:39:44 +0000 |
commit | f322823e515da92f8570bc22ad5e67a062f26c37 (patch) | |
tree | bea37626ae32b89a9145477b4caa94e1dee6608b | |
parent | 402ad2ecc7a0d1b9ea352abd2ffc060cf3507e6a (diff) | |
download | pkgsrc-f322823e515da92f8570bc22ad5e67a062f26c37.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)
-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; |