diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-02-26 00:56:04 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-02-26 00:56:25 +0100 |
commit | 3c65e3db84c106a2ec219ea4d78350ea200b8b9b (patch) | |
tree | 97ffbce2197fa4e44dc2e6ca920e508d4defec12 /app-editors | |
parent | sys-fs/btrfs-progs: bump up to 4.20.2 (diff) | |
download | gentoo-3c65e3db84c106a2ec219ea4d78350ea200b8b9b.tar.gz gentoo-3c65e3db84c106a2ec219ea4d78350ea200b8b9b.tar.bz2 gentoo-3c65e3db84c106a2ec219ea4d78350ea200b8b9b.zip |
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@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/notepadqq/files/notepadqq-1.4.8-qt-5.11-QDateTime.patch | 25 | ||||
-rw-r--r-- | 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 000000000000..d0158c33527c --- /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.sturmlechner@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 a61d2f600136..810b3dd47740 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 |