summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/pixman-mingw32.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /gfx/cairo/pixman-mingw32.patch
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/cairo/pixman-mingw32.patch')
-rw-r--r--gfx/cairo/pixman-mingw32.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/gfx/cairo/pixman-mingw32.patch b/gfx/cairo/pixman-mingw32.patch
new file mode 100644
index 0000000000..f2093904c3
--- /dev/null
+++ b/gfx/cairo/pixman-mingw32.patch
@@ -0,0 +1,26 @@
+# HG changeset patch
+# User Ryan VanderMeulen <ryanvm@gmail.com>
+# Parent 6d9741f4bafc0e3ff3fc50009960966f03386af5
+
+diff --git a/gfx/cairo/libpixman/src/pixman-mmx.c b/gfx/cairo/libpixman/src/pixman-mmx.c
+--- a/gfx/cairo/libpixman/src/pixman-mmx.c
++++ b/gfx/cairo/libpixman/src/pixman-mmx.c
+@@ -55,17 +55,17 @@
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
+ _mm_empty (void)
+ {
+
+ }
+ #endif
+
+ #ifdef USE_X86_MMX
+-# if (defined(__SUNPRO_C) || defined(_MSC_VER) || defined(_WIN64))
++# if (defined(__SUNPRO_C) || defined(_MSC_VER) || defined(_WIN64)) || defined(__MINGW32__)
+ # include <xmmintrin.h>
+ # else
+ /* We have to compile with -msse to use xmmintrin.h, but that causes SSE
+ * instructions to be generated that we don't want. Just duplicate the
+ * functions we want to use. */
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
+ _mm_movemask_pi8 (__m64 __A)
+ {