commit:     569f8c4dd13fc5ba4ec57f7cfd7367c34b92be5f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 07:56:09 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 08:19:25 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=569f8c4d

app-office/calligraplan: Fix missing header with Frameworks 5.61

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-office/calligraplan/calligraplan-3.1.0.ebuild  |  1 +
 .../files/calligraplan-3.1.0-missing-header.patch  | 24 ++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diff --git a/app-office/calligraplan/calligraplan-3.1.0.ebuild 
b/app-office/calligraplan/calligraplan-3.1.0.ebuild
index 9a721d96356..d18ff1274e1 100644
--- a/app-office/calligraplan/calligraplan-3.1.0.ebuild
+++ b/app-office/calligraplan/calligraplan-3.1.0.ebuild
@@ -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
index 00000000000..4ee031865a3
--- /dev/null
+++ b/app-office/calligraplan/files/calligraplan-3.1.0-missing-header.patch
@@ -0,0 +1,24 @@
+From fe36bf6f0dc1f0c1e927850dd78093cfe3b7aae2 Mon Sep 17 00:00:00 2001
+From: Albert Astals Cid <[email protected]>
+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

Reply via email to