net-libs/webkit-gtk: fix non-parallel builds
authorMart Raudsepp <leio@gentoo.org>
Wed, 25 Jul 2018 16:25:26 +0000 (19:25 +0300)
committerMart Raudsepp <leio@gentoo.org>
Wed, 25 Jul 2018 16:47:10 +0000 (19:47 +0300)
Parallel builds might have failed too before this patch, but had to
be very "lucky".

Closes: https://bugs.gentoo.org/662002
Package-Manager: Portage-2.3.43, Repoman-2.3.10

net-libs/webkit-gtk/files/2.20.3-jsc-build-fixes.patch [new file with mode: 0644]
net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild

diff --git a/net-libs/webkit-gtk/files/2.20.3-jsc-build-fixes.patch b/net-libs/webkit-gtk/files/2.20.3-jsc-build-fixes.patch
new file mode 100644 (file)
index 0000000..32ff3a5
--- /dev/null
@@ -0,0 +1,14 @@
+https://bugs.gentoo.org/662002
+https://bugs.webkit.org/show_bug.cgi?id=183788
+https://trac.webkit.org/changeset/229282/webkit
+
+Index: /trunk/Source/JavaScriptCore/CMakeLists.txt
+===================================================================
+--- a/Source/JavaScriptCore/CMakeLists.txt     (revision 229281)
++++ b/Source/JavaScriptCore/CMakeLists.txt     (revision 229282)
+@@ -248,4 +248,5 @@
+ )
+ target_link_libraries(LLIntOffsetsExtractor WTF)
++add_dependencies(LLIntOffsetsExtractor JavaScriptCoreForwardingHeaders)
+ # The build system will execute asm.rb every time LLIntOffsetsExtractor's mtime is newer than
index 69dc6b1f2ca3d267e69989d56020f0c3c65bf5e6..50b4f8c388cf838a0483f4ac92220ba559bfaeb4 100644 (file)
@@ -147,6 +147,7 @@ pkg_setup() {
 }
 
 src_prepare() {
+       eapply "${FILESDIR}"/${PV}-jsc-build-fixes.patch
        cmake-utils_src_prepare
        gnome2_src_prepare
 }