unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob d0bbb7e3b2b5805059f261ba47d30f9f95f9afea 2001 bytes (raw)
name: gnu/packages/patches/java-openjfx-build-web-WebKitCompilerFlags.cmake.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
29
30
31
32
33
34
35
36
 
Subject: [PATCH] Fix WebKit linkage.

Somehow the whole linkage fails because of the TestRunner's undefined
references. However, I see the very same fixes in openjfx8-devel FreeBSD port,
even though they use gradle to build it.

CMakeFiles/DumpRenderTreeJava.dir/__/TestRunner.cpp.o:TestRunner.cpp:function TestRunner::runUIScript(OpaqueJSContext const*, OpaqueJSString*, OpaqueJSValue const*): error: undefined reference to 'WTF::String::String(unsigned short const*, unsigned int)'
CMakeFiles/DumpRenderTreeJava.dir/__/__/TestRunnerShared/UIScriptContext/UIScriptContext.cpp.o:UIScriptContext.cpp:function WTR::UIScriptContext::tryToCompleteUIScriptForCurrentParentCallback(): error: undefined reference to 'WTF::String::String(unsigned short const*, unsigned int)'

Some related bugs/commits are:
https://github.com/WebKit/webkit/commit/1e46377e47674363131299d54c8557734a99fb5f
https://bugs.webkit.org/show_bug.cgi?id=199625#c24
https://bugs.webkit.org/show_bug.cgi?id=200074

---
 .../src/main/native/Source/cmake/WebKitCompilerFlags.cmake   | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake b/modules/web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake
index 5bcf047..4526ee6 100644
--- a/modules/web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake
+++ b/modules/web/src/main/native/Source/cmake/WebKitCompilerFlags.cmake
@@ -176,11 +176,6 @@ if (NOT MSVC)
     string(REGEX MATCHALL "-fsanitize=[^ ]*" ENABLED_COMPILER_SANITIZERS ${CMAKE_CXX_FLAGS})
 endif ()

-if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS)
-    set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}")
-endif ()
-
-
 # CODE_GENERATOR_PREPROCESSOR_WITH_LINEMARKERS only matters with GCC >= 4.7.0.  Since this
 # version, -P does not output empty lines, which currently breaks make_names.pl in
 # WebCore. Investigating whether make_names.pl should be changed instead is left as an exercise to
--
2.26.2

debug log:

solving d0bbb7e3b2 ...
found d0bbb7e3b2 in https://yhetil.org/guix-patches/20200607155518.1400-10-levenson@mmer.org/ ||
	https://yhetil.org/guix-patches/CAMRHuGDr_x6YdUgmOFkLkCX+ZgZpJ8o7RHwnVWuaX3TExYMqhg@mail.gmail.com/ ||
	https://yhetil.org/guix-patches/CAMRHuGCUsJDzk-LoHAA5d1fSESyb0Xjg6KUxk09HgUjHFS3W2Q@mail.gmail.com/

applying [1/1] https://yhetil.org/guix-patches/20200607155518.1400-10-levenson@mmer.org/
diff --git a/gnu/packages/patches/java-openjfx-build-web-WebKitCompilerFlags.cmake.patch b/gnu/packages/patches/java-openjfx-build-web-WebKitCompilerFlags.cmake.patch
new file mode 100644
index 0000000000..d0bbb7e3b2

Checking patch gnu/packages/patches/java-openjfx-build-web-WebKitCompilerFlags.cmake.patch...
Applied patch gnu/packages/patches/java-openjfx-build-web-WebKitCompilerFlags.cmake.patch cleanly.

skipping https://yhetil.org/guix-patches/CAMRHuGDr_x6YdUgmOFkLkCX+ZgZpJ8o7RHwnVWuaX3TExYMqhg@mail.gmail.com/ for d0bbb7e3b2
skipping https://yhetil.org/guix-patches/CAMRHuGCUsJDzk-LoHAA5d1fSESyb0Xjg6KUxk09HgUjHFS3W2Q@mail.gmail.com/ for d0bbb7e3b2
index at:
100644 d0bbb7e3b2b5805059f261ba47d30f9f95f9afea	gnu/packages/patches/java-openjfx-build-web-WebKitCompilerFlags.cmake.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).