From: Mart Raudsepp Date: Tue, 12 May 2020 15:51:55 +0000 (+0300) Subject: net-libs/webkit-gtk-2.28: fix USE="-jumbo-build -gstreamer" build X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6b2302effc4ef9997d3aef758248f1f4b64dc69b;p=gentoo.git net-libs/webkit-gtk-2.28: fix USE="-jumbo-build -gstreamer" build Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Mart Raudsepp --- diff --git a/net-libs/webkit-gtk/files/2.28.2-non-jumbo-fix.patch b/net-libs/webkit-gtk/files/2.28.2-non-jumbo-fix.patch new file mode 100644 index 000000000000..da9f1d3f56a1 --- /dev/null +++ b/net-libs/webkit-gtk/files/2.28.2-non-jumbo-fix.patch @@ -0,0 +1,34 @@ +From d553de92ed238278f51b93a2c90af7d3ff7a2da2 Mon Sep 17 00:00:00 2001 +From: Mart Raudsepp +Date: Tue, 12 May 2020 15:28:45 +0300 +Subject: [PATCH] Try to fix an apparent non-unified build error +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp: In member function ‘WTF::RefPtr +WebKit::InjectedBundleHitTestResult::urlElementHandle() const’: +Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:57:78: error: no matching function for call to +‘WebKit::InjectedBundleNodeHandle::getOrCreate(WebCore::Element*)’ + 57 | return InjectedBundleNodeHandle::getOrCreate(m_hitTestResult.URLElement()); + | ^ +In file included from Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:29 +--- + .../WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp +index df8e55df1f0..26f045bd3fc 100644 +--- a/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp ++++ b/Source/WebKit/WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp +@@ -32,6 +32,7 @@ + #include "WebImage.h" + #include + #include ++#include + #include + #include + #include +-- +2.20.1 + diff --git a/net-libs/webkit-gtk/webkit-gtk-2.28.2.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.28.2.ebuild index 506b161ddf43..ec2540acbd1e 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.28.2.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.28.2.ebuild @@ -172,6 +172,7 @@ src_prepare() { eapply "${FILESDIR}"/${PV}-use-gst-audiointerleave.patch eapply "${FILESDIR}"/${PV}-fix-ppc64-JSC.patch eapply "${FILESDIR}"/${PV}-opengl-without-X-fixes.patch + eapply "${FILESDIR}"/${PV}-non-jumbo-fix.patch cmake-utils_src_prepare gnome2_src_prepare }