diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:47:29 +0000 |
commit | 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch) | |
tree | a31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /gfx/cairo/pixman-intrin.patch | |
parent | Initial commit. (diff) | |
download | firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip |
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'gfx/cairo/pixman-intrin.patch')
-rw-r--r-- | gfx/cairo/pixman-intrin.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gfx/cairo/pixman-intrin.patch b/gfx/cairo/pixman-intrin.patch new file mode 100644 index 0000000000..66a4912cbd --- /dev/null +++ b/gfx/cairo/pixman-intrin.patch @@ -0,0 +1,24 @@ +diff --git a/gfx/cairo/libpixman/src/pixman-x86.c b/gfx/cairo/libpixman/src/pixman-x86.c +--- a/gfx/cairo/libpixman/src/pixman-x86.c ++++ b/gfx/cairo/libpixman/src/pixman-x86.c +@@ -104,16 +104,20 @@ have_cpuid (void) + + return !!result; + + #else + #error "Unknown compiler" + #endif + } + ++#ifdef _MSC_VER ++#include <intrin.h> /* for __cpuid */ ++#endif ++ + static void + pixman_cpuid (uint32_t feature, + uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d) + { + #if defined (__GNUC__) + + #if _PIXMAN_X86_64 + __asm__ volatile ( |