commit:     cb8c91474b0ae2f9e889f89afe2d9114dbd1784f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 10:49:02 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 11:06:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb8c9147

app-office/skrooge: 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>

 .../files/skrooge-2.20.0-missing-header.patch      | 24 ++++++++++++++++++++++
 app-office/skrooge/skrooge-2.20.0.ebuild           |  2 ++
 2 files changed, 26 insertions(+)

diff --git a/app-office/skrooge/files/skrooge-2.20.0-missing-header.patch 
b/app-office/skrooge/files/skrooge-2.20.0-missing-header.patch
new file mode 100644
index 00000000000..311404993b8
--- /dev/null
+++ b/app-office/skrooge/files/skrooge-2.20.0-missing-header.patch
@@ -0,0 +1,24 @@
+From 79aeb3f4d3cc01761d99af5868c7fb5101cf2258 Mon Sep 17 00:00:00 2001
+From: Luca Beltrame <lbeltr...@kde.org>
+Date: Sun, 21 Jul 2019 09:19:40 +0200
+Subject: Fix build with Qt 5.13
+
+---
+ plugins/generic/skg_monthly/grantlee_filters/skgdocumentfilter.cpp | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git 
a/plugins/generic/skg_monthly/grantlee_filters/skgdocumentfilter.cpp 
b/plugins/generic/skg_monthly/grantlee_filters/skgdocumentfilter.cpp
+index 423eb3a..dfcfb43 100644
+--- a/plugins/generic/skg_monthly/grantlee_filters/skgdocumentfilter.cpp
++++ b/plugins/generic/skg_monthly/grantlee_filters/skgdocumentfilter.cpp
+@@ -27,6 +27,8 @@
+ #include "skgmainpanel.h"
+ #include "skgtraces.h"
+ 
++#include <QMetaProperty>
++
+ #include <KFormat>
+ 
+ QVariant SKGDocumentTableFilter::doFilter(const QVariant& input, const 
QVariant& argument, bool autoescape) const
+-- 
+cgit v1.1

diff --git a/app-office/skrooge/skrooge-2.20.0.ebuild 
b/app-office/skrooge/skrooge-2.20.0.ebuild
index 191abf9bd10..998ef8d2ee9 100644
--- a/app-office/skrooge/skrooge-2.20.0.ebuild
+++ b/app-office/skrooge/skrooge-2.20.0.ebuild
@@ -75,6 +75,8 @@ RDEPEND="${COMMON_DEPEND}
        $(add_qt_dep qtquickcontrols)
 "
 
+PATCHES=( "${FILESDIR}"/${P}-missing-header.patch )
+
 # hangs + installs files
 RESTRICT+=" test"
 

Reply via email to