commit: 4fd7ae3236efd1834cafd9771e942fc49cc94da2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Thu May 28 05:57:42 2020 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Thu May 28 06:06:23 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd7ae32
net-im/telegram-desktop: add qt-5.15 include patch Bug: https://bugs.gentoo.org/725652 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> .../files/telegram-desktop-qt5.15.patch | 23 ++++++++++++++++++++++ .../telegram-desktop/telegram-desktop-2.1.0.ebuild | 5 ++++- .../telegram-desktop/telegram-desktop-2.1.7.ebuild | 4 ++++ 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/net-im/telegram-desktop/files/telegram-desktop-qt5.15.patch b/net-im/telegram-desktop/files/telegram-desktop-qt5.15.patch new file mode 100644 index 00000000000..80c02b10db2 --- /dev/null +++ b/net-im/telegram-desktop/files/telegram-desktop-qt5.15.patch @@ -0,0 +1,23 @@ +diff -ru tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/animation_value.h tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/animation_value.h +--- tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/animation_value.h 2020-05-24 09:44:41.000000000 +0200 ++++ tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/animation_value.h 2020-05-26 20:31:34.381796057 +0200 +@@ -10,6 +10,8 @@ + + #include "ui/style/style_core.h" + ++#include <QPainterPath> ++ + namespace anim { + + enum class type { +diff -ru tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/cross_animation.cpp tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/cross_animation.cpp +--- tdesktop-2.1.7-full.orig/Telegram/lib_ui/ui/effects/cross_animation.cpp 2020-05-24 09:44:41.000000000 +0200 ++++ tdesktop-2.1.7-full/Telegram/lib_ui/ui/effects/cross_animation.cpp 2020-05-26 20:32:16.340015129 +0200 +@@ -10,6 +10,7 @@ + #include "ui/painter.h" + + #include <QtCore/QtMath> ++#include <QPainterPath> + + namespace Ui { + namespace { diff --git a/net-im/telegram-desktop/telegram-desktop-2.1.0.ebuild b/net-im/telegram-desktop/telegram-desktop-2.1.0.ebuild index 07c9b19ab45..dd038756cdd 100644 --- a/net-im/telegram-desktop/telegram-desktop-2.1.0.ebuild +++ b/net-im/telegram-desktop/telegram-desktop-2.1.0.ebuild @@ -70,7 +70,10 @@ REQUIRED_USE=" S="${WORKDIR}/${MY_P}" -PATCHES=( "${FILESDIR}/${PV}-kde-dir.patch" ) +PATCHES=( + "${FILESDIR}/${PV}-kde-dir.patch" + "${FILESDIR}/${PN}-qt5.15.patch" +) src_configure() { local mycxxflags=( diff --git a/net-im/telegram-desktop/telegram-desktop-2.1.7.ebuild b/net-im/telegram-desktop/telegram-desktop-2.1.7.ebuild index 3206772347b..e031bf3e1e7 100644 --- a/net-im/telegram-desktop/telegram-desktop-2.1.7.ebuild +++ b/net-im/telegram-desktop/telegram-desktop-2.1.7.ebuild @@ -69,6 +69,10 @@ REQUIRED_USE=" S="${WORKDIR}/${MY_P}" +PATCHES=( + "${FILESDIR}/${PN}-qt5.15.patch" +) + pkg_pretend() { if has ccache ${FEATURES}; then ewarn
