summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-media_libyuv_source_rotate_mips_cc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-12 19:52:40 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-12 19:54:29 +0100
commitfe665c32010b568bf65d796e9921acf6ce8b7972 (patch)
tree8ed5b7881a4a716ced996b53db1f61c4eb9813f2 /package/firefox/patches/patch-media_libyuv_source_rotate_mips_cc
parent952bc07df98876bb827ada752dbd3caf71c774dc (diff)
firefox: use CXXFLAGS from buildsystem, try to resurrect lemote support
Diffstat (limited to 'package/firefox/patches/patch-media_libyuv_source_rotate_mips_cc')
-rw-r--r--package/firefox/patches/patch-media_libyuv_source_rotate_mips_cc12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-media_libyuv_source_rotate_mips_cc b/package/firefox/patches/patch-media_libyuv_source_rotate_mips_cc
new file mode 100644
index 000000000..f8d8ab6e3
--- /dev/null
+++ b/package/firefox/patches/patch-media_libyuv_source_rotate_mips_cc
@@ -0,0 +1,12 @@
+--- firefox-49.0.2.orig/media/libyuv/source/rotate_mips.cc 2016-05-12 19:13:17.000000000 +0200
++++ firefox-49.0.2/media/libyuv/source/rotate_mips.cc 2016-11-11 18:20:57.559265197 +0100
+@@ -18,7 +18,8 @@ extern "C" {
+ #endif
+
+ #if !defined(LIBYUV_DISABLE_MIPS) && \
+- defined(__mips_dsp) && (__mips_dsp_rev >= 2)
++ defined(__mips_dsp) && (__mips_dsp_rev >= 2) && \
++ (_MIPS_SIM == _MIPS_SIM_ABI32)
+
+ void TransposeWx8_MIPS_DSPR2(const uint8* src, int src_stride,
+ uint8* dst, int dst_stride,