From 919d5be8c64d7a416b48a1baf1379c99bc3113c8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 8 May 2021 18:06:03 +0200 Subject: extra/webkit2gtk: redone SSE/SSE2 patching for i486/i686 --- .../webkitgtk-2.27.91-no-sse2.arch32.patch | 91 ---------------------- 1 file changed, 91 deletions(-) delete mode 100644 extra/webkit2gtk/webkitgtk-2.27.91-no-sse2.arch32.patch (limited to 'extra/webkit2gtk/webkitgtk-2.27.91-no-sse2.arch32.patch') diff --git a/extra/webkit2gtk/webkitgtk-2.27.91-no-sse2.arch32.patch b/extra/webkit2gtk/webkitgtk-2.27.91-no-sse2.arch32.patch deleted file mode 100644 index 0f70b6cf..00000000 --- a/extra/webkit2gtk/webkitgtk-2.27.91-no-sse2.arch32.patch +++ /dev/null @@ -1,91 +0,0 @@ -diff -rauN webkitgtk-2.27.91/Source/cmake/WebKitCompilerFlags.cmake webkitgtk-2.27.91-no-sse2-patch/Source/cmake/WebKitCompilerFlags.cmake ---- webkitgtk-2.27.91/Source/cmake/WebKitCompilerFlags.cmake 2020-02-25 14:02:33.000000000 +0100 -+++ webkitgtk-2.27.91-no-sse2-patch/Source/cmake/WebKitCompilerFlags.cmake 2020-03-08 10:52:59.256386510 +0100 -@@ -140,13 +140,13 @@ - endif () - - # Force SSE2 fp on x86 builds. -- if (WTF_CPU_X86 AND NOT CMAKE_CROSSCOMPILING) -- WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-msse2 -mfpmath=sse) -- include(DetectSSE2) -- if (NOT SSE2_SUPPORT_FOUND) -- message(FATAL_ERROR "SSE2 support is required to compile WebKit") -- endif () -- endif () -+# if (WTF_CPU_X86 AND NOT CMAKE_CROSSCOMPILING) -+# WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-msse2 -mfpmath=sse) -+# include(DetectSSE2) -+# if (NOT SSE2_SUPPORT_FOUND) -+# message(FATAL_ERROR "SSE2 support is required to compile WebKit") -+# endif () -+# endif () - endif () - - if (COMPILER_IS_GCC_OR_CLANG AND NOT MSVC) -diff -rauN webkitgtk-2.27.91/Source/ThirdParty/ANGLE/src/common/mathutil.h webkitgtk-2.27.91-no-sse2-patch/Source/ThirdParty/ANGLE/src/common/mathutil.h ---- webkitgtk-2.27.91/Source/ThirdParty/ANGLE/src/common/mathutil.h 2020-02-05 11:02:04.000000000 +0100 -+++ webkitgtk-2.27.91-no-sse2-patch/Source/ThirdParty/ANGLE/src/common/mathutil.h 2020-03-08 14:02:05.582650747 +0100 -@@ -145,6 +145,7 @@ - - inline bool supportsSSE2() - { -+ return false; - #if defined(ANGLE_USE_SSE) - static bool checked = false; - static bool supports = false; -diff -rauN webkitgtk-2.27.91/Source/ThirdParty/ANGLE/src/image_util/loadimage.cpp webkitgtk-2.27.91-no-sse2-patch/Source/ThirdParty/ANGLE/src/image_util/loadimage.cpp ---- webkitgtk-2.27.91/Source/ThirdParty/ANGLE/src/image_util/loadimage.cpp 2020-02-05 11:02:04.000000000 +0100 -+++ webkitgtk-2.27.91-no-sse2-patch/Source/ThirdParty/ANGLE/src/image_util/loadimage.cpp 2020-03-08 10:57:55.570049890 +0100 -@@ -26,6 +26,7 @@ - size_t outputDepthPitch) - { - #if defined(ANGLE_USE_SSE) -+#error No SSE2 - if (gl::supportsSSE2()) - { - __m128i zeroWide = _mm_setzero_si128(); -diff -rauN webkitgtk-2.27.91/Source/WebCore/platform/audio/SincResampler.cpp webkitgtk-2.27.91-no-sse2-patch/Source/WebCore/platform/audio/SincResampler.cpp ---- webkitgtk-2.27.91/Source/WebCore/platform/audio/SincResampler.cpp 2020-02-04 11:24:07.000000000 +0100 -+++ webkitgtk-2.27.91-no-sse2-patch/Source/WebCore/platform/audio/SincResampler.cpp 2020-03-08 11:04:31.904959427 +0100 -@@ -36,6 +36,7 @@ - #include - - #if CPU(X86_SSE2) -+#error No SSE2 - #include - #endif - -diff -rauN webkitgtk-2.27.91/Source/WebCore/platform/audio/VectorMath.cpp webkitgtk-2.27.91-no-sse2-patch/Source/WebCore/platform/audio/VectorMath.cpp ---- webkitgtk-2.27.91/Source/WebCore/platform/audio/VectorMath.cpp 2020-02-04 11:24:07.000000000 +0100 -+++ webkitgtk-2.27.91-no-sse2-patch/Source/WebCore/platform/audio/VectorMath.cpp 2020-03-08 11:05:13.875479720 +0100 -@@ -33,6 +33,7 @@ - #endif - - #if CPU(X86_SSE2) -+#error No SSE2 - #include - #endif - -diff -rauN webkitgtk-2.27.91/Source/WTF/wtf/PlatformCPU.h webkitgtk-2.27.91-no-sse2-patch/Source/WTF/wtf/PlatformCPU.h ---- webkitgtk-2.27.91/Source/WTF/wtf/PlatformCPU.h 2020-02-04 11:24:07.000000000 +0100 -+++ webkitgtk-2.27.91-no-sse2-patch/Source/WTF/wtf/PlatformCPU.h 2020-03-08 11:06:26.063041396 +0100 -@@ -99,7 +99,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.27.91/Source/WTF/wtf/text/ASCIIFastPath.h webkitgtk-2.27.91-no-sse2-patch/Source/WTF/wtf/text/ASCIIFastPath.h ---- webkitgtk-2.27.91/Source/WTF/wtf/text/ASCIIFastPath.h 2020-02-04 11:24:07.000000000 +0100 -+++ webkitgtk-2.27.91-no-sse2-patch/Source/WTF/wtf/text/ASCIIFastPath.h 2020-03-08 11:06:54.516727539 +0100 -@@ -27,6 +27,7 @@ - #include - - #if CPU(X86_SSE2) -+#error No SSE2 - #include - #endif - -- cgit v1.2.3-70-g09d2