Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/kdstatemachineeditor/files/, dev-util/kdstatemachineeditor/
Date: Sat, 14 Jul 2018 14:58:00
Message-Id: 1531580153.dfd1cccca3ad94e4bd0401f740d02bf723a9edb3.asturm@gentoo
1 commit: dfd1cccca3ad94e4bd0401f740d02bf723a9edb3
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 14 14:53:47 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 14 14:55:53 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd1cccc
7
8 dev-util/kdstatemachineeditor: Fix build with Qt 5.11
9
10 Thanks-to: Petross404(Petros S) <petross404 <AT> gmail.com>
11 Closes: https://bugs.gentoo.org/656672
12 Package-Manager: Portage-2.3.41, Repoman-2.3.9
13
14 .../files/kdstatemachineeditor-1.2.3-qt-5.11.patch | 21 +++++++++++++++++++++
15 .../kdstatemachineeditor-1.2.3.ebuild | 2 ++
16 2 files changed, 23 insertions(+)
17
18 diff --git a/dev-util/kdstatemachineeditor/files/kdstatemachineeditor-1.2.3-qt-5.11.patch b/dev-util/kdstatemachineeditor/files/kdstatemachineeditor-1.2.3-qt-5.11.patch
19 new file mode 100644
20 index 00000000000..04a9ac9306b
21 --- /dev/null
22 +++ b/dev-util/kdstatemachineeditor/files/kdstatemachineeditor-1.2.3-qt-5.11.patch
23 @@ -0,0 +1,21 @@
24 +From 63ca52af50f94b396182638224fe2c50b4cb7043 Mon Sep 17 00:00:00 2001
25 +From: Allen Winter <allen.winter@××××.com>
26 +Date: Thu, 5 Apr 2018 10:07:01 -0400
27 +Subject: [PATCH] src/core/model/element.h - fix compile on with XCode (include QPointF)
28 +
29 +---
30 + src/core/model/element.h | 1 +
31 + 1 file changed, 1 insertion(+)
32 +
33 +diff --git a/src/core/model/element.h b/src/core/model/element.h
34 +index ec32cfc..c20ac6f 100644
35 +--- a/src/core/model/element.h
36 ++++ b/src/core/model/element.h
37 +@@ -30,6 +30,7 @@
38 +
39 + #include <QObject>
40 + #include <QMetaType>
41 ++#include <QPointF>
42 +
43 + QT_BEGIN_NAMESPACE
44 + class QPainterPath;
45 \ No newline at end of file
46
47 diff --git a/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.3.ebuild b/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.3.ebuild
48 index 879b2ad3bde..0ccb11dd407 100644
49 --- a/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.3.ebuild
50 +++ b/dev-util/kdstatemachineeditor/kdstatemachineeditor-1.2.3.ebuild
51 @@ -36,6 +36,8 @@ DEPEND="${RDEPEND}
52 media-gfx/graphviz
53 "
54
55 +PATCHES=( "${FILESDIR}"/${P}-qt-5.11.patch )
56 +
57 src_configure() {
58 local mycmakeargs=(
59 -DBUILD_EXAMPLES=OFF