1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/www/seamonkey/files/patch-bug1103858
Beat Gaetzi f5e463695b - Update to 2.31
PR:		195559
Submitted by:	Jan Beich
MFH:		2014Q4
Security:	http://vuxml.org/freebsd/7ae61870-9dd2-4884-a2f2-f19bb5784d09.html
2014-12-05 08:36:29 +00:00

43 lines
1.2 KiB
Plaintext

diff --git configure.in configure.in
index b2b45e7..dcfdfb7 100644
--- mozilla/configure.in
+++ mozilla/configure.in
@@ -8346,7 +8346,7 @@ case "$OS_TARGET" in
NECKO_WIFI=1
fi
;;
- Darwin|FreeBSD|SunOS|WINNT)
+ Darwin|DragonFly|FreeBSD|SunOS|WINNT)
NECKO_WIFI=1
;;
Linux)
diff --git netwerk/wifi/moz.build netwerk/wifi/moz.build
index d4de063..3949380 100644
--- mozilla/netwerk/wifi/moz.build
+++ mozilla/netwerk/wifi/moz.build
@@ -35,7 +35,7 @@ if CONFIG['OS_ARCH'] == 'Darwin':
UNIFIED_SOURCES += [
'osx_corewlan.mm',
]
-elif CONFIG['OS_ARCH'] == 'FreeBSD':
+elif CONFIG['OS_ARCH'] in ('DragonFly', 'FreeBSD'):
UNIFIED_SOURCES += [
'nsWifiScannerFreeBSD.cpp',
]
diff --git netwerk/wifi/nsWifiScannerFreeBSD.cpp netwerk/wifi/nsWifiScannerFreeBSD.cpp
index bdf171e..4185d69 100644
--- mozilla/netwerk/wifi/nsWifiScannerFreeBSD.cpp
+++ mozilla/netwerk/wifi/nsWifiScannerFreeBSD.cpp
@@ -13,7 +13,11 @@
#include <sys/socket.h>
#include <net/if.h>
#include <net/if_media.h>
+#ifdef __DragonFly__
+#include <netproto/802_11/ieee80211_ioctl.h>
+#else
#include <net80211/ieee80211_ioctl.h>
+#endif
#include <ifaddrs.h>
#include <string.h>