summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2018-10-11 22:57:37 +1100
committerMichael Palimaka <kensington@gentoo.org>2018-10-11 22:58:12 +1100
commitc4481aab161ad80182b44ad9199f36a0a9d20ae5 (patch)
tree743961730c9520e05786a0a9b481af18143d9166 /dev-games/tiled
parentprofiles: last-riting net-libs/libgcal (diff)
downloadgentoo-c4481aab161ad80182b44ad9199f36a0a9d20ae5.tar.gz
gentoo-c4481aab161ad80182b44ad9199f36a0a9d20ae5.tar.bz2
gentoo-c4481aab161ad80182b44ad9199f36a0a9d20ae5.zip
dev-games/tiled: fix build with Qt 5.11
Closes: https://bugs.gentoo.org/667000 Signed-off-by: Michael Palimaka <kensington@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-games/tiled')
-rw-r--r--dev-games/tiled/files/tiled-1.2.0-qt-5.11.patch26
-rw-r--r--dev-games/tiled/tiled-1.2.0.ebuild1
2 files changed, 27 insertions, 0 deletions
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 000000000000..43b3c64659c4
--- /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 <kensington@gentoo.org>
+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 fb9cfdad6b97..75a12ed885f7 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