commit:     6b6a048bc18c3c4532aa4ba3c9e8326108224018
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 23:10:55 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 23:56:00 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b6a048b

app-office/kexi: Fix build with Qt 5.11

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-office/kexi/files/kexi-3.1.0-qt-5.11.patch | 24 ++++++++++++++++++++++++
 app-office/kexi/kexi-3.1.0.ebuild              |  2 ++
 2 files changed, 26 insertions(+)

diff --git a/app-office/kexi/files/kexi-3.1.0-qt-5.11.patch 
b/app-office/kexi/files/kexi-3.1.0-qt-5.11.patch
new file mode 100644
index 00000000000..a879b2a4604
--- /dev/null
+++ b/app-office/kexi/files/kexi-3.1.0-qt-5.11.patch
@@ -0,0 +1,24 @@
+From c7b9215e7ae30a052fa11aa4199e7adea517c7e2 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlech...@gmail.com>
+Date: Tue, 20 Mar 2018 00:06:46 +0100
+Subject: [PATCH] Fix build with Qt 5.11 (missing headers)
+
+---
+ src/main/startup/KexiNewProjectAssistant.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/main/startup/KexiNewProjectAssistant.cpp 
b/src/main/startup/KexiNewProjectAssistant.cpp
+index 59e819acc..6568f1b5c 100644
+--- a/src/main/startup/KexiNewProjectAssistant.cpp
++++ b/src/main/startup/KexiNewProjectAssistant.cpp
+@@ -48,6 +48,7 @@
+ #include <KIconLoader>
+ #include <KStandardGuiItem>
+ 
++#include <QAction>
+ #include <QDebug>
+ #include <QLayout>
+ #include <QCheckBox>
+-- 
+2.16.2
+

diff --git a/app-office/kexi/kexi-3.1.0.ebuild 
b/app-office/kexi/kexi-3.1.0.ebuild
index fa15f9b5f72..8ceeaf7b7c7 100644
--- a/app-office/kexi/kexi-3.1.0.ebuild
+++ b/app-office/kexi/kexi-3.1.0.ebuild
@@ -62,6 +62,8 @@ RDEPEND="${COMMON_DEPEND}
        !app-office/calligra-l10n:4[calligra_features_kexi(+)]
 "
 
+PATCHES=( "${FILESDIR}"/${P}-qt-5.11.patch )
+
 src_prepare() {
        if ! use webkit; then
                punt_bogus_dep Qt5 WebKit

Reply via email to