app-office/skrooge: Fix missing header with Frameworks 5.61
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 11 Aug 2019 10:49:02 +0000 (12:49 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 11 Aug 2019 11:06:39 +0000 (13:06 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-office/skrooge/files/skrooge-2.20.0-missing-header.patch [new file with mode: 0644]
app-office/skrooge/skrooge-2.20.0.ebuild

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 (file)
index 0000000..3114049
--- /dev/null
@@ -0,0 +1,24 @@
+From 79aeb3f4d3cc01761d99af5868c7fb5101cf2258 Mon Sep 17 00:00:00 2001
+From: Luca Beltrame <lbeltrame@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
index 191abf9bd1015d3edbd2edf0fd900469d86b4aca..998ef8d2ee9aeeb95a28ab81b462465a486d59e0 100644 (file)
@@ -75,6 +75,8 @@ RDEPEND="${COMMON_DEPEND}
        $(add_qt_dep qtquickcontrols)
 "
 
+PATCHES=( "${FILESDIR}"/${P}-missing-header.patch )
+
 # hangs + installs files
 RESTRICT+=" test"