aboutsummaryrefslogtreecommitdiff
path: root/net/hostapd
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2017-03-29 01:49:02 +0000
committerCy Schubert <cy@FreeBSD.org>2017-03-29 01:49:02 +0000
commit4cc053d17ae7ec3cd90941c89a52a2d3cdb574ad (patch)
tree05fb1cccc18b6fc4c2172bed7662c3b3f5e8118c /net/hostapd
parent19c3086dccda138ab94740aac30a281fef881c2a (diff)
downloadports-4cc053d17ae7ec3cd90941c89a52a2d3cdb574ad.tar.gz
ports-4cc053d17ae7ec3cd90941c89a52a2d3cdb574ad.zip
Notes
Diffstat (limited to 'net/hostapd')
-rw-r--r--net/hostapd/files/patch-src-l2_packet-l2_packet_freebsd.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/hostapd/files/patch-src-l2_packet-l2_packet_freebsd.c b/net/hostapd/files/patch-src-l2_packet-l2_packet_freebsd.c
new file mode 100644
index 000000000000..8b34e0fbdd89
--- /dev/null
+++ b/net/hostapd/files/patch-src-l2_packet-l2_packet_freebsd.c
@@ -0,0 +1,14 @@
+--- src/l2_packet/l2_packet_freebsd.c.orig 2014-06-04 13:26:14 UTC
++++ src/l2_packet/l2_packet_freebsd.c
+@@ -8,7 +8,10 @@
+ */
+
+ #include "includes.h"
+-#if defined(__APPLE__) || defined(__GLIBC__)
++#if defined(__FreeBSD__) \
++ || defined(__DragonFly__) \
++ || defined(__APPLE__) \
++ || defined(__GLIBC__)
+ #include <net/bpf.h>
+ #endif /* __APPLE__ */
+ #include <pcap.h>