From: Mart Raudsepp Date: Wed, 25 Jul 2018 16:25:26 +0000 (+0300) Subject: net-libs/webkit-gtk: fix non-parallel builds X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=71cd81faf5448ecbc668a24bc9dec7663551bd19;p=gentoo.git net-libs/webkit-gtk: fix non-parallel builds 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 --- 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 index 000000000000..32ff3a52844f --- /dev/null +++ b/net-libs/webkit-gtk/files/2.20.3-jsc-build-fixes.patch @@ -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 diff --git a/net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild index 69dc6b1f2ca3..50b4f8c388cf 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.20.3.ebuild @@ -147,6 +147,7 @@ pkg_setup() { } src_prepare() { + eapply "${FILESDIR}"/${PV}-jsc-build-fixes.patch cmake-utils_src_prepare gnome2_src_prepare }