dev-util/kdstatemachineeditor: Fix build with Qt 5.11

Thanks-to: Petross404(Petros S) <petross404@gmail.com>
Closes: https://bugs.gentoo.org/656672
Package-Manager: Portage-2.3.41, Repoman-2.3.9
This commit is contained in:
Andreas Sturmlechner
2018-07-14 16:53:47 +02:00
parent 46b3df1886
commit dfd1cccca3
2 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
From 63ca52af50f94b396182638224fe2c50b4cb7043 Mon Sep 17 00:00:00 2001
From: Allen Winter <allen.winter@kdab.com>
Date: Thu, 5 Apr 2018 10:07:01 -0400
Subject: [PATCH] src/core/model/element.h - fix compile on with XCode (include QPointF)
---
src/core/model/element.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/core/model/element.h b/src/core/model/element.h
index ec32cfc..c20ac6f 100644
--- a/src/core/model/element.h
+++ b/src/core/model/element.h
@@ -30,6 +30,7 @@
#include <QObject>
#include <QMetaType>
+#include <QPointF>
QT_BEGIN_NAMESPACE
class QPainterPath;

View File

@@ -36,6 +36,8 @@ DEPEND="${RDEPEND}
media-gfx/graphviz
"
PATCHES=( "${FILESDIR}"/${P}-qt-5.11.patch )
src_configure() {
local mycmakeargs=(
-DBUILD_EXAMPLES=OFF