summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-08-11 10:13:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-08-11 10:19:26 +0200
commit115c7151193fee87da50340202ffd39e1b8f3c57 (patch)
tree576ef8fa325a320088d7b3ca5845e8733d9d5e4f /app-office/kmymoney
parentkde-apps/kpat: Fix missing header with Frameworks 5.61 (diff)
downloadgentoo-115c7151193fee87da50340202ffd39e1b8f3c57.tar.gz
gentoo-115c7151193fee87da50340202ffd39e1b8f3c57.tar.bz2
gentoo-115c7151193fee87da50340202ffd39e1b8f3c57.zip
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@gentoo.org>
Diffstat (limited to 'app-office/kmymoney')
-rw-r--r--app-office/kmymoney/files/kmymoney-5.0.5-missing-header.patch24
-rw-r--r--app-office/kmymoney/kmymoney-5.0.5.ebuild2
2 files changed, 26 insertions, 0 deletions
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 000000000000..d365607aecf2
--- /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 <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
diff --git a/app-office/kmymoney/kmymoney-5.0.5.ebuild b/app-office/kmymoney/kmymoney-5.0.5.ebuild
index 8ab833903522..96a0d4c95e48 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