1 |
commit: afb53f971e30a3205aa6135ff113984982380e43 |
2 |
Author: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jun 12 22:06:13 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 12 22:48:41 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb53f97 |
7 |
|
8 |
net-im/telegram-desktop: Fix USE=webkit on GCC 11 |
9 |
|
10 |
No runtime effect, no revbump. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/795567 |
13 |
Thanks-to: reckor <AT> gmail.com <reckor@×××××.com> |
14 |
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/21216 |
16 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
17 |
|
18 |
.../files/tdesktop-2.7.4-webview-fix-gcc11.patch | 10 ++++++++++ |
19 |
1 file changed, 10 insertions(+) |
20 |
|
21 |
diff --git a/net-im/telegram-desktop/files/tdesktop-2.7.4-webview-fix-gcc11.patch b/net-im/telegram-desktop/files/tdesktop-2.7.4-webview-fix-gcc11.patch |
22 |
index 3fa782814ba..7f4b3f2601f 100644 |
23 |
--- a/net-im/telegram-desktop/files/tdesktop-2.7.4-webview-fix-gcc11.patch |
24 |
+++ b/net-im/telegram-desktop/files/tdesktop-2.7.4-webview-fix-gcc11.patch |
25 |
@@ -1,3 +1,13 @@ |
26 |
+--- tdesktop-2.7.4-full.orig/Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp |
27 |
++++ tdesktop-2.7.4-full/Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp |
28 |
+@@ -6,6 +6,7 @@ |
29 |
+ // |
30 |
+ #include "webview/platform/linux/webview_linux_webkit_gtk.h" |
31 |
+ |
32 |
++#include "base/optional.h" |
33 |
+ #include "base/platform/linux/base_linux_gtk_integration.h" |
34 |
+ #include "base/platform/linux/base_linux_gtk_integration_p.h" |
35 |
+ |
36 |
--- tdesktop-2.7.4-full.orig/Telegram/lib_webview/webview/webview_embed.cpp |
37 |
+++ tdesktop-2.7.4-full/Telegram/lib_webview/webview/webview_embed.cpp |
38 |
@@ -14,7 +14,6 @@ |