summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorEsteve Varela Colominas <esteve.varela@gmail.com>2021-06-13 00:06:13 +0200
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-12 15:48:41 -0700
commitafb53f971e30a3205aa6135ff113984982380e43 (patch)
tree2d5a5b9431cb9a29fcbc66b2a79ad750e7d56809 /net-im
parentnet-im/telegram-desktop: Require USE=gtk for USE=webkit (diff)
downloadgentoo-afb53f971e30a3205aa6135ff113984982380e43.tar.gz
gentoo-afb53f971e30a3205aa6135ff113984982380e43.tar.bz2
gentoo-afb53f971e30a3205aa6135ff113984982380e43.zip
net-im/telegram-desktop: Fix USE=webkit on GCC 11
No runtime effect, no revbump. Closes: https://bugs.gentoo.org/795567 Thanks-to: reckor@gmail.com <reckor@gmail.com> Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21216 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop/files/tdesktop-2.7.4-webview-fix-gcc11.patch10
1 files changed, 10 insertions, 0 deletions
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
index 3fa782814ba8..7f4b3f2601f5 100644
--- 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
@@ -1,3 +1,13 @@
+--- tdesktop-2.7.4-full.orig/Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp
++++ tdesktop-2.7.4-full/Telegram/lib_webview/webview/platform/linux/webview_linux_webkit_gtk.cpp
+@@ -6,6 +6,7 @@
+ //
+ #include "webview/platform/linux/webview_linux_webkit_gtk.h"
+
++#include "base/optional.h"
+ #include "base/platform/linux/base_linux_gtk_integration.h"
+ #include "base/platform/linux/base_linux_gtk_integration_p.h"
+
--- tdesktop-2.7.4-full.orig/Telegram/lib_webview/webview/webview_embed.cpp
+++ tdesktop-2.7.4-full/Telegram/lib_webview/webview/webview_embed.cpp
@@ -14,7 +14,6 @@