summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-media_libyuv_source_rotate_mips_cc
diff options
context:
space:
mode:
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,