summaryrefslogtreecommitdiff
path: root/net/nmap/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/nmap/patches/patch-ac')
-rw-r--r--net/nmap/patches/patch-ac20
1 files changed, 13 insertions, 7 deletions
diff --git a/net/nmap/patches/patch-ac b/net/nmap/patches/patch-ac
index 63548b35979..5f84aa1987b 100644
--- a/net/nmap/patches/patch-ac
+++ b/net/nmap/patches/patch-ac
@@ -1,7 +1,13 @@
-$NetBSD: patch-ac,v 1.1 2000/10/08 15:06:09 hubertf Exp $
---- configure- Sun Oct 8 23:15:09 2000
-+++ configure Sun Oct 8 23:15:35 2000
-@@ -1509,2 +1509,3 @@
- int major, minor;
-+ exit(0); /*fool it*/
- sscanf(pcap_version,"%d.%d", &major, &minor);
+$NetBSD: patch-ac,v 1.2 2001/08/24 11:05:36 abs Exp $
+
+--- libpcap-possiblymodified/bpf/net/bpf.h.orig Wed Oct 14 22:27:16 1998
++++ libpcap-possiblymodified/bpf/net/bpf.h
+@@ -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