summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-netwerk_wifi_moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/patches/patch-netwerk_wifi_moz.build')
-rw-r--r--www/firefox/patches/patch-netwerk_wifi_moz.build24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-netwerk_wifi_moz.build b/www/firefox/patches/patch-netwerk_wifi_moz.build
new file mode 100644
index 00000000000..3ad0651418c
--- /dev/null
+++ b/www/firefox/patches/patch-netwerk_wifi_moz.build
@@ -0,0 +1,24 @@
+$NetBSD: patch-netwerk_wifi_moz.build,v 1.1 2013/09/19 12:37:50 ryoon Exp $
+
+--- netwerk/wifi/moz.build.orig 2013-09-10 03:43:50.000000000 +0000
++++ netwerk/wifi/moz.build
+@@ -31,6 +31,10 @@ if CONFIG['OS_ARCH'] == 'Darwin':
+ CPP_SOURCES += [
+ 'nsWifiScannerMac.cpp',
+ ]
++elif CONFIG['OS_ARCH'] == 'FreeBSD':
++ CPP_SOURCES += [
++ 'nsWifiScannerFreeBSD.cpp',
++ ]
+ elif CONFIG['OS_ARCH'] == 'WINNT':
+ CPP_SOURCES += [
+ 'nsWifiScannerWin.cpp',
+@@ -40,7 +44,7 @@ elif CONFIG['OS_ARCH'] == 'SunOS':
+ 'nsWifiScannerSolaris.cpp',
+ ]
+
+-if CONFIG['MOZ_ENABLE_DBUS']:
++if CONFIG['NECKO_WIFI_DBUS']:
+ CPP_SOURCES += [
+ 'nsWifiScannerDBus.cpp',
+ ]