webkit2gtk3/no-forced-sse.patch
Dominique Leuenberger 0801e8e3e4 Accepting request 921030 from GNOME:Next
Sub the new stable - supersede

- Update to version 2.34.0:
  + Fix another regression in JavaScriptCore on 32bit systems.

- Update to version 2.33.91:
  + Use the right display refresh monitor for animations in
    accelerated compositng mode.
  + Fix several issues in JavaScriptCore on 32bit systems.
  + Prefer python3 over python2 in CMake.

- Update to version 2.33.90:
  + Show TLS protocol version and ciphersuite name in the
    inspector when building with libsoup3.
  + Add multi-track support to media backend.
  + Avoid strong alias computations in font fallback code.
  + Fix deadlock tearing down pipeline when using fallback sink.
  + Fix the build with gtk-doc enabled.
  + Fix several crashes and rendering issues.
- Add fix-warnings.patch: silence return-type warnings.

- Add a 3rd flavor: gtk3 with libsoup2 (which retains compatibility
  to the olderversions, identified as API version 4.0).

- Add _multibuild file and enable build of webkit2gtk4.

- Update to version 2.33.3:
  + Add support for display capture.
  + Add new API to access/modify capture devices states.
  + Add new API to configure the memory pressure handler.
  + Add support for client side certifiates authentication.
  + Add support color-schemes CSS property.

OBS-URL: https://build.opensuse.org/request/show/921030
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=313
2021-09-27 06:26:36 +00:00

38 lines
1.4 KiB
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2020-01-30 14:15:51.612533365 +0100
cmake tests whether the compiler can emit SSE, which is the wrongest of all
options. (At the very least, a build system would check the buildhost's actual
CPU feature set; while not great, there are convincable usecases for doing
that.)
Disable unconditional emission of -msse2 into the command line.
On x86_64 where SSE2 is always available, gcc already implies -msse2
anyway, so there should not be anything lost by removing this block
of makefilery.
---
Source/cmake/WebKitCompilerFlags.cmake | 9 ---------
1 file changed, 9 deletions(-)
Index: webkitgtk-2.33.3/Source/cmake/WebKitCompilerFlags.cmake
===================================================================
--- webkitgtk-2.33.3.orig/Source/cmake/WebKitCompilerFlags.cmake
+++ webkitgtk-2.33.3/Source/cmake/WebKitCompilerFlags.cmake
@@ -148,15 +148,6 @@ if (COMPILER_IS_GCC_OR_CLANG)
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-Wno-expansion-to-defined)
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 ()
endif ()
if (COMPILER_IS_GCC_OR_CLANG AND NOT MSVC)