commit: 3c65e3db84c106a2ec219ea4d78350ea200b8b9b Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Feb 25 23:56:04 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Feb 25 23:56:25 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c65e3db
app-editors/notepadqq: Fix build with Qt 5.11 Closes: https://bugs.gentoo.org/668392 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/notepadqq-1.4.8-qt-5.11-QDateTime.patch | 25 ++++++++++++++++++++++ app-editors/notepadqq/notepadqq-1.4.8.ebuild | 5 ++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/app-editors/notepadqq/files/notepadqq-1.4.8-qt-5.11-QDateTime.patch b/app-editors/notepadqq/files/notepadqq-1.4.8-qt-5.11-QDateTime.patch new file mode 100644 index 00000000000..d0158c33527 --- /dev/null +++ b/app-editors/notepadqq/files/notepadqq-1.4.8-qt-5.11-QDateTime.patch @@ -0,0 +1,25 @@ +From 8d5dc3dfb279f8420457fbc04a3ff6fb5f3f8a21 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <andreas.sturmlech...@gmail.com> +Date: Tue, 26 Feb 2019 00:47:26 +0100 +Subject: [PATCH] Fix build with Qt 5.11 (add missing QDateTime include) + +Downstream report: https://bugs.gentoo.org/668392 +--- + src/ui/stats.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/ui/stats.cpp b/src/ui/stats.cpp +index 59837c9..e0f3cbd 100644 +--- a/src/ui/stats.cpp ++++ b/src/ui/stats.cpp +@@ -3,6 +3,7 @@ + #include <QNetworkAccessManager> + #include <QJsonDocument> + #include <QNetworkRequest> ++#include <QDateTime> + #include <QNetworkReply> + #include <QSysInfo> + #include <QTimer> +-- +2.21.0 + diff --git a/app-editors/notepadqq/notepadqq-1.4.8.ebuild b/app-editors/notepadqq/notepadqq-1.4.8.ebuild index a61d2f60013..810b3dd4774 100644 --- a/app-editors/notepadqq/notepadqq-1.4.8.ebuild +++ b/app-editors/notepadqq/notepadqq-1.4.8.ebuild @@ -27,13 +27,12 @@ RDEPEND=" dev-qt/qtwebkit:5 dev-qt/qtwidgets:5 " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND} dev-qt/linguist-tools:5 dev-qt/qtsvg:5 " -PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" ) +PATCHES=( "${FILESDIR}"/${P}-qt-5.11{,-QDateTime}.patch ) src_prepare() { default