app-office/calligraplan: Fix missing header with Frameworks 5.61
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 11 Aug 2019 07:56:09 +0000 (09:56 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 11 Aug 2019 08:19:25 +0000 (10:19 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-office/calligraplan/calligraplan-3.1.0.ebuild
app-office/calligraplan/files/calligraplan-3.1.0-missing-header.patch [new file with mode: 0644]

index 9a721d963563a628f70a70448fcdea015b8995dd..d18ff1274e1459dbba1bb67c8b66f73c52fea52d 100644 (file)
@@ -78,6 +78,7 @@ RESTRICT+=" test"
 PATCHES=(
        "${FILESDIR}"/${P}-qt-5.11.patch
        "${FILESDIR}"/${P}-qca.patch
+       "${FILESDIR}"/${P}-missing-header.patch
 )
 
 src_prepare() {
diff --git a/app-office/calligraplan/files/calligraplan-3.1.0-missing-header.patch b/app-office/calligraplan/files/calligraplan-3.1.0-missing-header.patch
new file mode 100644 (file)
index 0000000..4ee0318
--- /dev/null
@@ -0,0 +1,24 @@
+From fe36bf6f0dc1f0c1e927850dd78093cfe3b7aae2 Mon Sep 17 00:00:00 2001
+From: Albert Astals Cid <aacid@kde.org>
+Date: Sun, 28 Jul 2019 00:07:33 +0200
+Subject: Fix compile on CI
+
+src/workpackage/view.h:148:31: error: field m_scheduleActions has incomplete type QMap<QAction*, KPlato::Schedule*>
+---
+ src/workpackage/view.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/workpackage/view.h b/src/workpackage/view.h
+index 6cae32b..cd2fc4e 100644
+--- a/src/workpackage/view.h
++++ b/src/workpackage/view.h
+@@ -24,6 +24,7 @@
+ #include <KoView.h>
++#include <QMap>
+ #include <QStackedWidget>
+ class QPrinter;
+-- 
+cgit v1.1