From f8355dbb0994d6757ac3efbebe370f0bb1e97faa Mon Sep 17 00:00:00 2001 From: jbeich Date: Sat, 9 Jul 2016 04:57:43 +0000 Subject: gecko: unbreak WebRTC build on DragonFly --- www/firefox/files/patch-bug1285501 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 www/firefox/files/patch-bug1285501 (limited to 'www/firefox') 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)$'], + ], -- cgit