Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/tiled/files/, dev-games/tiled/
Date: Thu, 11 Oct 2018 11:58:33
Message-Id: 1539259092.c4481aab161ad80182b44ad9199f36a0a9d20ae5.kensington@gentoo
1 commit: c4481aab161ad80182b44ad9199f36a0a9d20ae5
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 11 11:57:37 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 11 11:58:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4481aab
7
8 dev-games/tiled: fix build with Qt 5.11
9
10 Closes: https://bugs.gentoo.org/667000
11 Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>
12 Package-Manager: Portage-2.3.49, Repoman-2.3.11
13
14 dev-games/tiled/files/tiled-1.2.0-qt-5.11.patch | 26 +++++++++++++++++++++++++
15 dev-games/tiled/tiled-1.2.0.ebuild | 1 +
16 2 files changed, 27 insertions(+)
17
18 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
19 new file mode 100644
20 index 00000000000..43b3c64659c
21 --- /dev/null
22 +++ b/dev-games/tiled/files/tiled-1.2.0-qt-5.11.patch
23 @@ -0,0 +1,26 @@
24 +Bug: https://bugs.gentoo.org/667000
25 +
26 +From 1f039bc40c730cdd93df8213795bbb0fcb634dfe Mon Sep 17 00:00:00 2001
27 +From: Michael Palimaka <kensington@g.o>
28 +Date: Thu, 11 Oct 2018 22:51:03 +1100
29 +Subject: [PATCH] Add missing include.
30 +
31 +---
32 + src/tiled/newsfeed.cpp | 1 +
33 + 1 file changed, 1 insertion(+)
34 +
35 +diff --git a/src/tiled/newsfeed.cpp b/src/tiled/newsfeed.cpp
36 +index ddf988c3..2e2e12b9 100644
37 +--- a/src/tiled/newsfeed.cpp
38 ++++ b/src/tiled/newsfeed.cpp
39 +@@ -22,6 +22,7 @@
40 +
41 + #include "preferences.h"
42 +
43 ++#include <QDebug>
44 + #include <QNetworkAccessManager>
45 + #include <QNetworkReply>
46 + #include <QSettings>
47 +--
48 +2.18.1
49 +
50
51 diff --git a/dev-games/tiled/tiled-1.2.0.ebuild b/dev-games/tiled/tiled-1.2.0.ebuild
52 index fb9cfdad6b9..75a12ed885f 100644
53 --- a/dev-games/tiled/tiled-1.2.0.ebuild
54 +++ b/dev-games/tiled/tiled-1.2.0.ebuild
55 @@ -30,6 +30,7 @@ DEPEND="${RDEPEND}
56 "
57
58 DOCS=( AUTHORS COPYING NEWS.md README.md )
59 +PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
60
61 pkg_setup() {
62 use python && python-single-r1_pkg_setup