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

diff --git a/app-office/kmymoney/files/kmymoney-5.0.5-missing-header.patch b/app-office/kmymoney/files/kmymoney-5.0.5-missing-header.patch
new file mode 100644 (file)
index 0000000..d365607
--- /dev/null
@@ -0,0 +1,24 @@
+From b48fc8588f1fd98b116fce21ebfda6416f558146 Mon Sep 17 00:00:00 2001
+From: Luca Beltrame <lbeltrame@kde.org>
+Date: Sun, 21 Jul 2019 09:10:44 +0200
+Subject: Fix build with Qt 5.13
+
+Yet another case of QMap no longer being included.
+---
+ kmymoney/plugins/kmymoneyplugin.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/kmymoney/plugins/kmymoneyplugin.h b/kmymoney/plugins/kmymoneyplugin.h
+index abd6b64..ccff5d3 100644
+--- a/kmymoney/plugins/kmymoneyplugin.h
++++ b/kmymoney/plugins/kmymoneyplugin.h
+@@ -25,6 +25,7 @@
+ // ----------------------------------------------------------------------------
+ // QT Includes
++#include <QMap>
+ #include <QObject>
+ // ----------------------------------------------------------------------------
+-- 
+cgit v1.1
index 8ab833903522eb2ac2fac4d39c69e2393968ea66..96a0d4c95e4872e3906b8b2f42edaeb65abf98e0 100644 (file)
@@ -90,6 +90,8 @@ RDEPEND="${COMMON_DEPEND}
        quotes? ( dev-perl/Finance-Quote )
 "
 
+PATCHES=( "${FILESDIR}"/${P}-missing-header.patch )
+
 pkg_setup() {
        use weboob && python_setup
        kde5_pkg_setup