aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Unovitch <junovitch@FreeBSD.org>2017-03-30 01:50:00 +0000
committerJason Unovitch <junovitch@FreeBSD.org>2017-03-30 01:50:00 +0000
commit2b052db5b2457d2277525e038e0ad0b2e8f2a051 (patch)
treecad8e81783f7bb2fff98a5a58c749f5f12e279af
parent78271e554389310fb56d9e69ec7159760510dbbb (diff)
downloadports-2b052db5b2457d2277525e038e0ad0b2e8f2a051.tar.gz
ports-2b052db5b2457d2277525e038e0ad0b2e8f2a051.zip
MFH: r437179
Fix build broken by r436625. PR: 218036 Approved by: ports-secteam (with hat)
Notes
Notes: svn path=/branches/2017Q1/; revision=437265
-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>