From 3a8423ee2874c2fd96358b28af08d38d83e9bdc0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 17 Apr 2023 23:53:43 +0100 Subject: gentoo auto-resync : 17:04:2023 - 23:53:43 --- .../tdesktop-4.3.4-qt5-incompatibility-2.patch | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 net-im/telegram-desktop/files/tdesktop-4.3.4-qt5-incompatibility-2.patch (limited to 'net-im/telegram-desktop/files') diff --git a/net-im/telegram-desktop/files/tdesktop-4.3.4-qt5-incompatibility-2.patch b/net-im/telegram-desktop/files/tdesktop-4.3.4-qt5-incompatibility-2.patch deleted file mode 100644 index ae5c84763c8d..000000000000 --- a/net-im/telegram-desktop/files/tdesktop-4.3.4-qt5-incompatibility-2.patch +++ /dev/null @@ -1,28 +0,0 @@ -Disable unused incompatible overload with qt5 - -Neither Qt nore C++ are my forte, but this code is unused with the packaged -distro version, anyway. - -/var/tmp/portage/net-im/telegram-desktop-4.3.4/work/tdesktop-4.3.4-full/Telegram/SourceFiles/platform/linux/specific_linux.cpp: In lambda function: -/var/tmp/portage/net-im/telegram-desktop-4.3.4/work/tdesktop-4.3.4-full/Telegram/SourceFiles/platform/linux/specific_linux.cpp:705:74: error: call of overloaded ‘arg(QByteArray&)’ is ambiguous - 705 | return qsl("org.telegram.desktop.%1.desktop").arg(md5Hash); - | ^ - ---- tdesktop-4.3.4-full.orig/Telegram/SourceFiles/platform/linux/specific_linux.cpp -+++ tdesktop-4.3.4-full/Telegram/SourceFiles/platform/linux/specific_linux.cpp -@@ -692,6 +692,7 @@ - + qsl(".desktop"); - } - -+#if !(defined(TDESKTOP_DISABLE_AUTOUPDATE) && QT_VERSION < QT_VERSION_CHECK(6, 2, 0)) - if (!Core::UpdaterDisabled()) { - QByteArray md5Hash(h); - if (!Launcher::Instance().customWorkingDir()) { -@@ -706,6 +707,7 @@ - - return qsl("org.telegram.desktop.%1.desktop").arg(md5Hash); - } -+#endif // !(defined(TDESKTOP_DISABLE_AUTOUPDATE) && QT_VERSION < QT_VERSION_CHECK(6, 2, 0)) - - return qsl("org.telegram.desktop.desktop"); - }()); -- cgit v1.2.3