summaryrefslogtreecommitdiff
path: root/security/p0f/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-08 19:14:47 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-08 19:14:47 +0000
commitacc26f4f54c1a4a1d76acfaa6c62318d7119a70d (patch)
treec9126337a21e8bada701edc83d350da6edb5aa5c /security/p0f/patches
parent39832721678916857fe50e308cbf9a78f0f058f1 (diff)
downloadpkgsrc-acc26f4f54c1a4a1d76acfaa6c62318d7119a70d.tar.gz
Use NetBSD rules for DragonFly as well. Don't include both, net/bpf.h
and pcap.h, on DragonFly.
Diffstat (limited to 'security/p0f/patches')
-rw-r--r--security/p0f/patches/patch-ab14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/p0f/patches/patch-ab b/security/p0f/patches/patch-ab
new file mode 100644
index 00000000000..9a7d9efd9ac
--- /dev/null
+++ b/security/p0f/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.5 2005/12/08 19:14:47 joerg Exp $
+
+--- p0f.c.orig 2005-12-08 19:10:32.000000000 +0000
++++ p0f.c
+@@ -36,7 +36,9 @@
+ #include <pcap.h>
+ #include <signal.h>
+
++#ifndef __DragonFly__
+ #include <net/bpf.h>
++#endif
+ #include <time.h>
+ #include <ctype.h>
+