diff options
author | he <he@pkgsrc.org> | 2000-11-12 12:43:46 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2000-11-12 12:43:46 +0000 |
commit | 6121c82a4870a5e2fece60e087f6511171d35007 (patch) | |
tree | fe66a004af7468ad0e87a7f081e9bf6efb52252e /net | |
parent | ca72e829f632e49749126b41babfc2d6d8bdd76d (diff) | |
download | pkgsrc-6121c82a4870a5e2fece60e087f6511171d35007.tar.gz |
Works better on alpha with BPF_ALIGNMENT set to sizeof(long) instead
of sizeof(bpf_int32).
Diffstat (limited to 'net')
-rw-r--r-- | net/nmap/files/patch-sum | 3 | ||||
-rw-r--r-- | net/nmap/patches/patch-ae | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/nmap/files/patch-sum b/net/nmap/files/patch-sum index 2d432389c78..692c186663f 100644 --- a/net/nmap/files/patch-sum +++ b/net/nmap/files/patch-sum @@ -1,6 +1,7 @@ -$NetBSD: patch-sum,v 1.7 2000/10/12 14:06:32 wiz Exp $ +$NetBSD: patch-sum,v 1.8 2000/11/12 12:43:46 he Exp $ MD5 (patch-aa) = 7f00255950ea6661106dc599215ada60 MD5 (patch-ab) = bb9ea9c7ed515429b5bde12f9823459c MD5 (patch-ac) = b9b4ce87bef4abc93052541ef95ff307 MD5 (patch-ad) = e5d448cfb6e96e708e8ea59ea1581eae +MD5 (patch-ae) = 783c903e0e9a22b098484d119d3bdabc diff --git a/net/nmap/patches/patch-ae b/net/nmap/patches/patch-ae new file mode 100644 index 00000000000..d53a660edc7 --- /dev/null +++ b/net/nmap/patches/patch-ae @@ -0,0 +1,13 @@ +$NetBSD: patch-ae,v 1.1 2000/11/12 12:43:46 he Exp $ + +--- libpcap-possiblymodified/bpf/net/bpf.h.orig Sun Nov 12 13:28:39 2000 ++++ libpcap-possiblymodified/bpf/net/bpf.h Sun Nov 12 13:25:20 2000 +@@ -52,7 +52,7 @@ + * Alignment macros. BPF_WORDALIGN rounds up to the next + * even multiple of BPF_ALIGNMENT. + */ +-#define BPF_ALIGNMENT sizeof(bpf_int32) ++#define BPF_ALIGNMENT sizeof(long) + #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1)) + + #define BPF_MAXINSNS 512 |