aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2016-07-09 12:57:43 +0800
committerjbeich <jbeich@FreeBSD.org>2016-07-09 12:57:43 +0800
commitf8355dbb0994d6757ac3efbebe370f0bb1e97faa (patch)
treeea2b4e0d98fb9d3fe6212c2bda4028aca0364a0a /www/firefox
parentf843875a394d82237d9ce37f7719bbc2802d38d5 (diff)
downloadfreebsd-ports-graphics-f8355dbb0994d6757ac3efbebe370f0bb1e97faa.tar.gz
freebsd-ports-graphics-f8355dbb0994d6757ac3efbebe370f0bb1e97faa.tar.zst
freebsd-ports-graphics-f8355dbb0994d6757ac3efbebe370f0bb1e97faa.zip
gecko: unbreak WebRTC build on DragonFly
Diffstat (limited to 'www/firefox')
-rw-r--r--www/firefox/files/patch-bug128550122
1 files changed, 22 insertions, 0 deletions
diff --git a/www/firefox/files/patch-bug1285501 b/www/firefox/files/patch-bug1285501
new file mode 100644
index 00000000000..2c8df471411
--- /dev/null
+++ b/www/firefox/files/patch-bug1285501
@@ -0,0 +1,22 @@
+diff --git media/webrtc/trunk/build/filename_rules.gypi media/webrtc/trunk/build/filename_rules.gypi
+index 844d5c5..7b16a15 100644
+--- media/webrtc/trunk/build/filename_rules.gypi
++++ media/webrtc/trunk/build/filename_rules.gypi
+@@ -29,7 +29,7 @@
+ # In case a file is not needed, it is going to be excluded later on.
+ # TODO(evan): the above is not correct; we shouldn't build _linux
+ # files on non-linux.
+- ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)==1', {
++ ['OS!="linux" and OS!="solaris" and <(os_bsd)!=1 or >(nacl_untrusted_build)==1', {
+ 'sources/': [
+ ['exclude', '_linux(_unittest)?\\.(h|cc)$'],
+ ['exclude', '(^|/)linux/'],
+@@ -55,7 +55,7 @@
+ ['exclude', '_nacl(_unittest)?\\.(h|cc)$'],
+ ],
+ }],
+- ['OS!="linux" and OS!="openbsd" and OS!="freebsd" or >(nacl_untrusted_build)==1', {
++ ['OS!="linux" and OS!="solaris" and <(os_bsd)!=1 or >(nacl_untrusted_build)==1', {
+ 'sources/': [
+ ['exclude', '_xdg(_unittest)?\\.(h|cc)$'],
+ ],