commit:     028175e62748f872494c2422deef19c2f5c69734
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu May 10 07:57:32 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu May 10 08:01:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=028175e6

app-office/kmymoney: Fix build with Qt 5.11

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 .../kmymoney/files/kmymoney-5.0.1-qt-5.11.patch    | 23 ++++++++++++++++++++++
 app-office/kmymoney/kmymoney-5.0.1-r2.ebuild       |  5 ++++-
 2 files changed, 27 insertions(+), 1 deletion(-)

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 00000000000..4158e0f8ed5
--- /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 <[email protected]>
+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 44363179fe0..7891db19927 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

Reply via email to