summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-08-11 12:49:56 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-08-11 13:06:39 +0200
commitb675fe5d09b4da9666c1a9a79d4501f1a7eed450 (patch)
tree192687c3e59cbc6195f3791870946d2410777b37
parentapp-office/skrooge: Fix missing header with Frameworks 5.61 (diff)
downloadgentoo-b675fe5d09b4da9666c1a9a79d4501f1a7eed450.tar.gz
gentoo-b675fe5d09b4da9666c1a9a79d4501f1a7eed450.tar.bz2
gentoo-b675fe5d09b4da9666c1a9a79d4501f1a7eed450.zip
app-office/kexi: 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>
-rw-r--r--app-office/kexi/files/kexi-3.2.0-missing-header.patch24
-rw-r--r--app-office/kexi/kexi-3.2.0.ebuild2
2 files changed, 26 insertions, 0 deletions
diff --git a/app-office/kexi/files/kexi-3.2.0-missing-header.patch b/app-office/kexi/files/kexi-3.2.0-missing-header.patch
new file mode 100644
index 000000000000..673fea4a80ba
--- /dev/null
+++ b/app-office/kexi/files/kexi-3.2.0-missing-header.patch
@@ -0,0 +1,24 @@
+From 511d99b7745a6ce87a208bdbf69e631f1f136d53 Mon Sep 17 00:00:00 2001
+From: Luca Beltrame <lbeltrame@kde.org>
+Date: Sun, 21 Jul 2019 09:07:44 +0200
+Subject: Fix build with Qt 5.13
+
+The QDate include is no longer included transitively.
+---
+ src/plugins/forms/widgets/kexidbdatepicker.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/plugins/forms/widgets/kexidbdatepicker.cpp b/src/plugins/forms/widgets/kexidbdatepicker.cpp
+index 1e0692d..92a5c88 100644
+--- a/src/plugins/forms/widgets/kexidbdatepicker.cpp
++++ b/src/plugins/forms/widgets/kexidbdatepicker.cpp
+@@ -22,6 +22,7 @@
+ #include "kexidbdatepicker.h"
+ #include <kexiutils/utils.h>
+
++#include <QDate>
+ #include <QLineEdit>
+ #include <QInputMethodEvent>
+
+--
+cgit v1.1
diff --git a/app-office/kexi/kexi-3.2.0.ebuild b/app-office/kexi/kexi-3.2.0.ebuild
index c2ea1c5ddcad..5bef8c3c8265 100644
--- a/app-office/kexi/kexi-3.2.0.ebuild
+++ b/app-office/kexi/kexi-3.2.0.ebuild
@@ -56,6 +56,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-missing-header.patch )
+
src_prepare() {
if ! use webkit; then
punt_bogus_dep Qt5 WebKit