From afb53f971e30a3205aa6135ff113984982380e43 Mon Sep 17 00:00:00 2001 From: Esteve Varela Colominas Date: Sun, 13 Jun 2021 00:06:13 +0200 Subject: 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 Signed-off-by: Esteve Varela Colominas Closes: https://github.com/gentoo/gentoo/pull/21216 Signed-off-by: Georgy Yakovlev --- .../files/tdesktop-2.7.4-webview-fix-gcc11.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'net-im') 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 @@ -- cgit v1.2.3-65-gdbad