summaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-media-libvpx-vpx_config.h
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2011-03-22 15:24:49 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2011-03-22 15:24:49 +0000
commitd8add7cac467361c78bc446d5c0db8d385f18e56 (patch)
tree9f3c0dfdef16328b5cca345328a05666b1760a59 /www/firefox-esr/files/patch-media-libvpx-vpx_config.h
parent- Connect www/firefox36 and www/firefox36-i18n to the build. (diff)
- Update to 4.0
- Add PGO option to enable Profile-Guided Optimization [1]. PR: ports/132231 [1] (based on) Submitted by: lioux@ [1] Thanks to: andreast@, Anonymous <swell.k AT gmail.com>, decke@, jsa@, swills@ and all the testers for their feedback!
Diffstat (limited to 'www/firefox-esr/files/patch-media-libvpx-vpx_config.h')
-rw-r--r--www/firefox-esr/files/patch-media-libvpx-vpx_config.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/firefox-esr/files/patch-media-libvpx-vpx_config.h b/www/firefox-esr/files/patch-media-libvpx-vpx_config.h
new file mode 100644
index 000000000000..d813ca8c608b
--- /dev/null
+++ b/www/firefox-esr/files/patch-media-libvpx-vpx_config.h
@@ -0,0 +1,16 @@
+--- media/libvpx/vpx_config.h~
++++ media/libvpx/vpx_config.h
+@@ -12,11 +12,11 @@
+ /* 32 bit MacOS. */
+ #include "vpx_config_x86-darwin9-gcc.h"
+
+-#elif defined(__linux__) && defined(__i386__)
++#elif (defined(__linux__) || defined(__FreeBSD__)) && defined(__i386__)
+ /* 32 bit Linux. */
+ #include "vpx_config_x86-linux-gcc.h"
+
+-#elif defined(__linux__) && defined(__x86_64__)
++#elif (defined(__linux__) || defined(__FreeBSD__)) && defined(__x86_64__)
+ /* 64 bit Linux. */
+ #include "vpx_config_x86_64-linux-gcc.h"
+