unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 6be2775480f2d1f9d376c74006146bf3a7bf5660 1070 bytes (raw)
name: gnu/packages/patches/webkitgtk-dont-detect-sse2.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
Copied from Debian:

https://sources.debian.org/data/main/w/webkit2gtk/2.34.1-1/debian/patches/dont-detect-sse2.patch

From: Alberto Garcia <berto@igalia.com>
Subject: Don't check for SSE2 support on i386
Bug-Debian: https://bugs.debian.org/930935
Forwarded: no
Index: webkitgtk/Source/cmake/WebKitCompilerFlags.cmake
===================================================================
--- webkitgtk.orig/Source/cmake/WebKitCompilerFlags.cmake
+++ webkitgtk/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)

debug log:

solving 6be2775480 ...
found 6be2775480 in https://yhetil.org/guix-patches/87a6i5fyi4.fsf@GlaDOS.home/

applying [1/1] https://yhetil.org/guix-patches/87a6i5fyi4.fsf@GlaDOS.home/
diff --git a/gnu/packages/patches/webkitgtk-dont-detect-sse2.patch b/gnu/packages/patches/webkitgtk-dont-detect-sse2.patch
new file mode 100644
index 0000000000..6be2775480

1:33: trailing whitespace.
 
Checking patch gnu/packages/patches/webkitgtk-dont-detect-sse2.patch...
Applied patch gnu/packages/patches/webkitgtk-dont-detect-sse2.patch cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 6be2775480f2d1f9d376c74006146bf3a7bf5660	gnu/packages/patches/webkitgtk-dont-detect-sse2.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).