commit:     115c7151193fee87da50340202ffd39e1b8f3c57
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 08:13:13 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 08:19:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=115c7151

app-office/kmymoney: 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/kmymoney-5.0.5-missing-header.patch      | 24 ++++++++++++++++++++++
 app-office/kmymoney/kmymoney-5.0.5.ebuild          |  2 ++
 2 files changed, 26 insertions(+)

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
index 00000000000..d365607aecf
--- /dev/null
+++ b/app-office/kmymoney/files/kmymoney-5.0.5-missing-header.patch
@@ -0,0 +1,24 @@
+From b48fc8588f1fd98b116fce21ebfda6416f558146 Mon Sep 17 00:00:00 2001
+From: Luca Beltrame <[email protected]>
+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

diff --git a/app-office/kmymoney/kmymoney-5.0.5.ebuild 
b/app-office/kmymoney/kmymoney-5.0.5.ebuild
index 8ab83390352..96a0d4c95e4 100644
--- a/app-office/kmymoney/kmymoney-5.0.5.ebuild
+++ b/app-office/kmymoney/kmymoney-5.0.5.ebuild
@@ -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

Reply via email to