summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-05-10 09:57:32 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-05-10 10:01:10 +0200
commit028175e62748f872494c2422deef19c2f5c69734 (patch)
treef2b8a72182b6d9ce9952279e7d8c21a11c797d37 /app-office/kmymoney
parentnet-dns/dnssec-system-tray: Drop old (diff)
downloadgentoo-028175e62748f872494c2422deef19c2f5c69734.tar.gz
gentoo-028175e62748f872494c2422deef19c2f5c69734.tar.bz2
gentoo-028175e62748f872494c2422deef19c2f5c69734.zip
app-office/kmymoney: Fix build with Qt 5.11
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'app-office/kmymoney')
-rw-r--r--app-office/kmymoney/files/kmymoney-5.0.1-qt-5.11.patch23
-rw-r--r--app-office/kmymoney/kmymoney-5.0.1-r2.ebuild5
2 files changed, 27 insertions, 1 deletions
diff --git a/app-office/kmymoney/files/kmymoney-5.0.1-qt-5.11.patch b/app-office/kmymoney/files/kmymoney-5.0.1-qt-5.11.patch
new file mode 100644
index 000000000000..4158e0f8ed5b
--- /dev/null
+++ b/app-office/kmymoney/files/kmymoney-5.0.1-qt-5.11.patch
@@ -0,0 +1,23 @@
+From e5198a902996b27bf9abde0ad24af82d55ab5dc1 Mon Sep 17 00:00:00 2001
+From: Luca Beltrame <lbeltrame@kde.org>
+Date: Thu, 10 May 2018 09:35:34 +0200
+Subject: Fix build with Qt 5.11
+
+---
+ kmymoney/plugins/kbanking/widgets/chiptandialog.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/kmymoney/plugins/kbanking/widgets/chiptandialog.cpp b/kmymoney/plugins/kbanking/widgets/chiptandialog.cpp
+index 928e7a8..53fb2a3 100644
+--- a/kmymoney/plugins/kbanking/widgets/chiptandialog.cpp
++++ b/kmymoney/plugins/kbanking/widgets/chiptandialog.cpp
+@@ -28,6 +28,7 @@
+ #include <QQuickView>
+ #include <QQuickItem>
+ #include <QPushButton>
++#include <QRegExpValidator>
+ #include <QStandardPaths>
+
+ #include <KLocalizedString>
+--
+cgit v0.11.2
diff --git a/app-office/kmymoney/kmymoney-5.0.1-r2.ebuild b/app-office/kmymoney/kmymoney-5.0.1-r2.ebuild
index 44363179fe05..7891db19927c 100644
--- a/app-office/kmymoney/kmymoney-5.0.1-r2.ebuild
+++ b/app-office/kmymoney/kmymoney-5.0.1-r2.ebuild
@@ -87,7 +87,10 @@ RDEPEND="${COMMON_DEPEND}
quotes? ( dev-perl/Finance-Quote )
"
-PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-cmake.patch"
+ "${FILESDIR}/${P}-qt-5.11.patch"
+)
pkg_setup() {
use weboob && python_setup