1 |
commit: 115c7151193fee87da50340202ffd39e1b8f3c57 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 11 08:13:13 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 11 08:19:26 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=115c7151 |
7 |
|
8 |
app-office/kmymoney: Fix missing header with Frameworks 5.61 |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
.../files/kmymoney-5.0.5-missing-header.patch | 24 ++++++++++++++++++++++ |
14 |
app-office/kmymoney/kmymoney-5.0.5.ebuild | 2 ++ |
15 |
2 files changed, 26 insertions(+) |
16 |
|
17 |
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 |
18 |
new file mode 100644 |
19 |
index 00000000000..d365607aecf |
20 |
--- /dev/null |
21 |
+++ b/app-office/kmymoney/files/kmymoney-5.0.5-missing-header.patch |
22 |
@@ -0,0 +1,24 @@ |
23 |
+From b48fc8588f1fd98b116fce21ebfda6416f558146 Mon Sep 17 00:00:00 2001 |
24 |
+From: Luca Beltrame <lbeltrame@×××.org> |
25 |
+Date: Sun, 21 Jul 2019 09:10:44 +0200 |
26 |
+Subject: Fix build with Qt 5.13 |
27 |
+ |
28 |
+Yet another case of QMap no longer being included. |
29 |
+--- |
30 |
+ kmymoney/plugins/kmymoneyplugin.h | 1 + |
31 |
+ 1 file changed, 1 insertion(+) |
32 |
+ |
33 |
+diff --git a/kmymoney/plugins/kmymoneyplugin.h b/kmymoney/plugins/kmymoneyplugin.h |
34 |
+index abd6b64..ccff5d3 100644 |
35 |
+--- a/kmymoney/plugins/kmymoneyplugin.h |
36 |
++++ b/kmymoney/plugins/kmymoneyplugin.h |
37 |
+@@ -25,6 +25,7 @@ |
38 |
+ // ---------------------------------------------------------------------------- |
39 |
+ // QT Includes |
40 |
+ |
41 |
++#include <QMap> |
42 |
+ #include <QObject> |
43 |
+ |
44 |
+ // ---------------------------------------------------------------------------- |
45 |
+-- |
46 |
+cgit v1.1 |
47 |
|
48 |
diff --git a/app-office/kmymoney/kmymoney-5.0.5.ebuild b/app-office/kmymoney/kmymoney-5.0.5.ebuild |
49 |
index 8ab83390352..96a0d4c95e4 100644 |
50 |
--- a/app-office/kmymoney/kmymoney-5.0.5.ebuild |
51 |
+++ b/app-office/kmymoney/kmymoney-5.0.5.ebuild |
52 |
@@ -90,6 +90,8 @@ RDEPEND="${COMMON_DEPEND} |
53 |
quotes? ( dev-perl/Finance-Quote ) |
54 |
" |
55 |
|
56 |
+PATCHES=( "${FILESDIR}"/${P}-missing-header.patch ) |
57 |
+ |
58 |
pkg_setup() { |
59 |
use weboob && python_setup |
60 |
kde5_pkg_setup |