summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-media_libyuv_include_libyuv_row_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/firefox/patches/patch-media_libyuv_include_libyuv_row_h')
-rw-r--r--package/firefox/patches/patch-media_libyuv_include_libyuv_row_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-media_libyuv_include_libyuv_row_h b/package/firefox/patches/patch-media_libyuv_include_libyuv_row_h
new file mode 100644
index 000000000..5f035b27b
--- /dev/null
+++ b/package/firefox/patches/patch-media_libyuv_include_libyuv_row_h
@@ -0,0 +1,12 @@
+--- firefox-49.0.2.orig/media/libyuv/include/libyuv/row.h 2016-05-12 19:13:17.000000000 +0200
++++ firefox-49.0.2/media/libyuv/include/libyuv/row.h 2016-11-11 18:20:11.589488367 +0100
+@@ -332,7 +332,8 @@ extern "C" {
+ // The following are available on Mips platforms:
+ #if !defined(LIBYUV_DISABLE_MIPS) && defined(__mips__)
+ #define HAS_COPYROW_MIPS
+-#if defined(__mips_dsp) && (__mips_dsp_rev >= 2)
++#if defined(__mips_dsp) && (__mips_dsp_rev >= 2) && \
++ (_MIPS_SIM == _MIPS_SIM_ABI32)
+ #define HAS_I422TOABGRROW_MIPS_DSPR2
+ #define HAS_I422TOARGBROW_MIPS_DSPR2
+ #define HAS_I422TOBGRAROW_MIPS_DSPR2