net-libs/webkit-gtk: fix build with -j1

Reported-by: dolphinling
Gentoo-Bug: 556680
Upstream-Bug-url: https://bugs.webkit.org/show_bug.cgi?id=148379
Package-Manager: portage-2.2.20.1
This commit is contained in:
Alexandre Rostovtsev
2015-08-24 20:40:38 -04:00
parent d7c61f780b
commit d61bddfcbf
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
2015-08-24 Alexandre Rostovtsev <tetromino@gentoo.org>
webkit2gtkinjectedbundle requires forwarding headers
https://bugs.webkit.org/show_bug.cgi?id=148379
Fixes GTK build with -j1
* PlatformGTK.cmake:
Index: Source/WebKit2/PlatformGTK.cmake
===================================================================
--- Source/WebKit2/PlatformGTK.cmake (revision 188859)
+++ Source/WebKit2/PlatformGTK.cmake (working copy)
@@ -860,7 +860,7 @@ include_directories(
)
add_library(webkit2gtkinjectedbundle MODULE "${WEBKIT2_DIR}/WebProcess/gtk/WebGtkInjectedBundleMain.cpp")
-add_dependencies(webkit2gtkinjectedbundle GObjectDOMBindings)
+add_dependencies(webkit2gtkinjectedbundle GObjectDOMBindings WebKit2-forwarding-headers)
add_webkit2_prefix_header(webkit2gtkinjectedbundle)
# Add ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} to LD_LIBRARY_PATH

View File

@@ -141,6 +141,9 @@ src_prepare() {
# https://bugs.webkit.org/show_bug.cgi?id=129542
epatch "${FILESDIR}"/${PN}-2.8.1-ia64-malloc.patch
# https://bugs.webkit.org/show_bug.cgi?id=148379
epatch "${FILESDIR}"/${PN}-2.8.5-webkit2gtkinjectedbundle-j1.patch
gnome2_src_prepare
}