1 |
commit: cd3384b4b67262108374e57cde3aee9dfe1203b3 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 2 16:46:02 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 2 16:46:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd3384b4 |
7 |
|
8 |
net-libs/webkit-gtk-2.26: fix unsupported no-GL build |
9 |
|
10 |
Closes: https://bugs.gentoo.org/704236 |
11 |
Package-Manager: Portage-2.3.79, Repoman-2.3.12 |
12 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
13 |
|
14 |
.../webkit-gtk/files/2.26.2-fix-noGL-build.patch | 31 ++++++++++++++++++++++ |
15 |
net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild | 3 ++- |
16 |
2 files changed, 33 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/net-libs/webkit-gtk/files/2.26.2-fix-noGL-build.patch b/net-libs/webkit-gtk/files/2.26.2-fix-noGL-build.patch |
19 |
new file mode 100644 |
20 |
index 00000000000..422c71a452f |
21 |
--- /dev/null |
22 |
+++ b/net-libs/webkit-gtk/files/2.26.2-fix-noGL-build.patch |
23 |
@@ -0,0 +1,31 @@ |
24 |
+From 0fb66b8787a857c5c51b7efdc950a6ecf930b6ee Mon Sep 17 00:00:00 2001 |
25 |
+From: "ross.kirsling@××××.com" |
26 |
+ <ross.kirsling@××××.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> |
27 |
+Date: Fri, 4 Oct 2019 20:25:56 +0000 |
28 |
+Subject: [PATCH] Unreviewed WinCairo build fix for r250717. |
29 |
+ |
30 |
+* WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h: |
31 |
+(WebKit::LayerTreeHost::invalidate): Deleted. |
32 |
+ |
33 |
+ |
34 |
+ |
35 |
+git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250743 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
36 |
+--- |
37 |
+ .../WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h | 1 - |
38 |
+ 1 files changed, 0 insertions(+), 1 deletion(-) |
39 |
+ |
40 |
+diff --git a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h |
41 |
+index 980513647ff..d214532d852 100644 |
42 |
+--- a/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h |
43 |
++++ b/Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h |
44 |
+@@ -212,7 +212,6 @@ inline void LayerTreeHost::scheduleLayerFlush() { } |
45 |
+ inline void LayerTreeHost::cancelPendingLayerFlush() { } |
46 |
+ inline void LayerTreeHost::setRootCompositingLayer(WebCore::GraphicsLayer*) { } |
47 |
+ inline void LayerTreeHost::setViewOverlayRootLayer(WebCore::GraphicsLayer*) { } |
48 |
+-inline void LayerTreeHost::invalidate() { } |
49 |
+ inline void LayerTreeHost::scrollNonCompositedContents(const WebCore::IntRect&) { } |
50 |
+ inline void LayerTreeHost::forceRepaint() { } |
51 |
+ inline bool LayerTreeHost::forceRepaintAsync(CallbackID) { return false; } |
52 |
+-- |
53 |
+2.20.1 |
54 |
+ |
55 |
|
56 |
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild |
57 |
index 9cc790ed99f..b743a3359c9 100644 |
58 |
--- a/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild |
59 |
+++ b/net-libs/webkit-gtk/webkit-gtk-2.26.2.ebuild |
60 |
@@ -1,4 +1,4 @@ |
61 |
-# Copyright 1999-2019 Gentoo Authors |
62 |
+# Copyright 1999-2020 Gentoo Authors |
63 |
# Distributed under the terms of the GNU General Public License v2 |
64 |
|
65 |
EAPI=6 |
66 |
@@ -172,6 +172,7 @@ pkg_setup() { |
67 |
src_prepare() { |
68 |
eapply "${FILESDIR}/${PN}-2.24.4-icu-65.patch" # bug 698596 |
69 |
eapply "${FILESDIR}/${PN}-2.24.4-eglmesaext-include.patch" # bug 699054 # https://bugs.webkit.org/show_bug.cgi?id=204108 |
70 |
+ eapply "${FILESDIR}"/${PV}-fix-noGL-build.patch # bug 704236 |
71 |
cmake-utils_src_prepare |
72 |
gnome2_src_prepare |
73 |
} |