index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Tasos Sahanidis <tasos@tasossah.com> | 2019-12-30 22:40:30 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-30 23:10:32 +0100 |
commit | 264e8529648250310c75e2dc64d535ae96f3e596 (patch) | |
tree | 4283df60a91aa2e67c8269d0ae50774ccdc33382 /extra/webkit2gtk/webkitgtk-2.24.2-no-sse2.arch32.patch | |
parent | 68029a2a0dd2c655498800eacb4bdfe232fa39ab (diff) |
-rw-r--r-- | extra/webkit2gtk/webkitgtk-2.24.2-no-sse2.arch32.patch | 67 |
diff --git a/extra/webkit2gtk/webkitgtk-2.24.2-no-sse2.arch32.patch b/extra/webkit2gtk/webkitgtk-2.24.2-no-sse2.arch32.patch new file mode 100644 index 00000000..5bcfb603 --- /dev/null +++ b/extra/webkit2gtk/webkitgtk-2.24.2-no-sse2.arch32.patch @@ -0,0 +1,67 @@ +diff -rauN webkitgtk-2.24.2/Source/ThirdParty/ANGLE/src/image_util/loadimage.cpp webkitgtk-2.24.2-no-sse2-patch/Source/ThirdParty/ANGLE/src/image_util/loadimage.cpp +--- webkitgtk-2.24.2/Source/ThirdParty/ANGLE/src/image_util/loadimage.cpp 2019-02-12 12:21:03.000000000 +0100 ++++ webkitgtk-2.24.2-no-sse2-patch/Source/ThirdParty/ANGLE/src/image_util/loadimage.cpp 2019-06-12 09:39:11.959999956 +0200 +@@ -12,6 +12,8 @@ + #include "common/platform.h" + #include "image_util/imageformats.h" + ++#include <stdio.h> ++ + namespace angle + { + +@@ -28,6 +30,8 @@ + #if defined(ANGLE_USE_SSE) + if (gl::supportsSSE2()) + { ++ fprintf(stderr,"SSE2 detected but Webkit compiled without SSE2 support!\n"); ++ + __m128i zeroWide = _mm_setzero_si128(); + + for (size_t z = 0; z < depth; z++) + +diff -rauN webkitgtk-2.24.2/Source/WebCore/platform/audio/SincResampler.cpp webkitgtk-2.24.2-no-sse2-patch/Source/WebCore/platform/audio/SincResampler.cpp +--- webkitgtk-2.24.2/Source/WebCore/platform/audio/SincResampler.cpp 2019-02-12 12:21:18.000000000 +0100 ++++ webkitgtk-2.24.2-no-sse2-patch/Source/WebCore/platform/audio/SincResampler.cpp 2019-06-12 09:36:23.089999961 +0200 +@@ -36,6 +36,7 @@ + #include <wtf/MathExtras.h> + + #if CPU(X86_SSE2) ++#error No SSE2 + #include <emmintrin.h> + #endif + +diff -rauN webkitgtk-2.24.2/Source/WebCore/platform/audio/VectorMath.cpp webkitgtk-2.24.2-no-sse2-patch/Source/WebCore/platform/audio/VectorMath.cpp +--- webkitgtk-2.24.2/Source/WebCore/platform/audio/VectorMath.cpp 2019-02-12 12:21:18.000000000 +0100 ++++ webkitgtk-2.24.2-no-sse2-patch/Source/WebCore/platform/audio/VectorMath.cpp 2019-06-12 09:09:37.576666644 +0200 +@@ -33,6 +33,7 @@ + #endif + + #if CPU(X86_SSE2) ++#error No SSE2 + #include <emmintrin.h> + #endif + +diff -rauN webkitgtk-2.24.2/Source/WTF/wtf/Platform.h webkitgtk-2.24.2-no-sse2-patch/Source/WTF/wtf/Platform.h +--- webkitgtk-2.24.2/Source/WTF/wtf/Platform.h 2019-03-05 16:32:47.000000000 +0100 ++++ webkitgtk-2.24.2-no-sse2-patch/Source/WTF/wtf/Platform.h 2019-06-12 09:47:05.889999955 +0200 +@@ -124,7 +124,7 @@ + #define WTF_CPU_KNOWN 1 + + #if defined(__SSE2__) || (defined(_M_IX86_FP) && _M_IX86_FP >= 2) +-#define WTF_CPU_X86_SSE2 1 ++/* #define WTF_CPU_X86_SSE2 1 */ + #endif + + #endif +diff -rauN webkitgtk-2.24.2/Source/WTF/wtf/text/ASCIIFastPath.h webkitgtk-2.24.2-no-sse2-patch/Source/WTF/wtf/text/ASCIIFastPath.h +--- webkitgtk-2.24.2/Source/WTF/wtf/text/ASCIIFastPath.h 2019-02-12 12:21:17.000000000 +0100 ++++ webkitgtk-2.24.2-no-sse2-patch/Source/WTF/wtf/text/ASCIIFastPath.h 2019-06-12 09:35:37.626666634 +0200 +@@ -27,6 +27,7 @@ + #include <wtf/text/LChar.h> + + #if CPU(X86_SSE2) ++#error No SSE2 + #include <emmintrin.h> + #endif + |