summaryrefslogtreecommitdiffstats
path: root/media/libyuv/fix_build_errors.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /media/libyuv/fix_build_errors.patch
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'media/libyuv/fix_build_errors.patch')
-rw-r--r--media/libyuv/fix_build_errors.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/media/libyuv/fix_build_errors.patch b/media/libyuv/fix_build_errors.patch
new file mode 100644
index 0000000000..28d1b647ab
--- /dev/null
+++ b/media/libyuv/fix_build_errors.patch
@@ -0,0 +1,27 @@
+diff --git a/include/libyuv/row.h b/include/libyuv/row.h
+--- a/include/libyuv/row.h
++++ b/include/libyuv/row.h
+@@ -176,8 +176,9 @@ extern "C" {
+
+ // The following functions fail on gcc/clang 32 bit with fpic and framepointer.
+ // caveat: clangcl uses row_win.cc which works.
+-#if defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
+- defined(_MSC_VER)
++#if !defined(MOZ_PROFILING) && \
++ (defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
++ defined(_MSC_VER))
+ // TODO(fbarchard): fix build error on android_full_debug=1
+ // https://code.google.com/p/libyuv/issues/detail?id=517
+ #define HAS_I422ALPHATOARGBROW_SSSE3
+@@ -246,8 +247,9 @@ extern "C" {
+ #define HAS_ARGBATTENUATEROW_AVX2
+ #endif
+
+-#if defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
+- defined(_MSC_VER)
++#if !defined(MOZ_PROFILING) && \
++ (defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
++ defined(_MSC_VER))
+ // TODO(fbarchard): fix build error on android_full_debug=1
+ // https://code.google.com/p/libyuv/issues/detail?id=517
+ #define HAS_I422ALPHATOARGBROW_AVX2