commit: c4481aab161ad80182b44ad9199f36a0a9d20ae5 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> AuthorDate: Thu Oct 11 11:57:37 2018 +0000 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> CommitDate: Thu Oct 11 11:58:12 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4481aab
dev-games/tiled: fix build with Qt 5.11 Closes: https://bugs.gentoo.org/667000 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 dev-games/tiled/files/tiled-1.2.0-qt-5.11.patch | 26 +++++++++++++++++++++++++ dev-games/tiled/tiled-1.2.0.ebuild | 1 + 2 files changed, 27 insertions(+) diff --git a/dev-games/tiled/files/tiled-1.2.0-qt-5.11.patch b/dev-games/tiled/files/tiled-1.2.0-qt-5.11.patch new file mode 100644 index 00000000000..43b3c64659c --- /dev/null +++ b/dev-games/tiled/files/tiled-1.2.0-qt-5.11.patch @@ -0,0 +1,26 @@ +Bug: https://bugs.gentoo.org/667000 + +From 1f039bc40c730cdd93df8213795bbb0fcb634dfe Mon Sep 17 00:00:00 2001 +From: Michael Palimaka <[email protected]> +Date: Thu, 11 Oct 2018 22:51:03 +1100 +Subject: [PATCH] Add missing include. + +--- + src/tiled/newsfeed.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/tiled/newsfeed.cpp b/src/tiled/newsfeed.cpp +index ddf988c3..2e2e12b9 100644 +--- a/src/tiled/newsfeed.cpp ++++ b/src/tiled/newsfeed.cpp +@@ -22,6 +22,7 @@ + + #include "preferences.h" + ++#include <QDebug> + #include <QNetworkAccessManager> + #include <QNetworkReply> + #include <QSettings> +-- +2.18.1 + diff --git a/dev-games/tiled/tiled-1.2.0.ebuild b/dev-games/tiled/tiled-1.2.0.ebuild index fb9cfdad6b9..75a12ed885f 100644 --- a/dev-games/tiled/tiled-1.2.0.ebuild +++ b/dev-games/tiled/tiled-1.2.0.ebuild @@ -30,6 +30,7 @@ DEPEND="${RDEPEND} " DOCS=( AUTHORS COPYING NEWS.md README.md ) +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" ) pkg_setup() { use python && python-single-r1_pkg_setup
