1 |
commit: b675fe5d09b4da9666c1a9a79d4501f1a7eed450 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 11 10:49:56 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 11 11:06:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b675fe5d |
7 |
|
8 |
app-office/kexi: 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 |
.../kexi/files/kexi-3.2.0-missing-header.patch | 24 ++++++++++++++++++++++ |
14 |
app-office/kexi/kexi-3.2.0.ebuild | 2 ++ |
15 |
2 files changed, 26 insertions(+) |
16 |
|
17 |
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 |
18 |
new file mode 100644 |
19 |
index 00000000000..673fea4a80b |
20 |
--- /dev/null |
21 |
+++ b/app-office/kexi/files/kexi-3.2.0-missing-header.patch |
22 |
@@ -0,0 +1,24 @@ |
23 |
+From 511d99b7745a6ce87a208bdbf69e631f1f136d53 Mon Sep 17 00:00:00 2001 |
24 |
+From: Luca Beltrame <lbeltrame@×××.org> |
25 |
+Date: Sun, 21 Jul 2019 09:07:44 +0200 |
26 |
+Subject: Fix build with Qt 5.13 |
27 |
+ |
28 |
+The QDate include is no longer included transitively. |
29 |
+--- |
30 |
+ src/plugins/forms/widgets/kexidbdatepicker.cpp | 1 + |
31 |
+ 1 file changed, 1 insertion(+) |
32 |
+ |
33 |
+diff --git a/src/plugins/forms/widgets/kexidbdatepicker.cpp b/src/plugins/forms/widgets/kexidbdatepicker.cpp |
34 |
+index 1e0692d..92a5c88 100644 |
35 |
+--- a/src/plugins/forms/widgets/kexidbdatepicker.cpp |
36 |
++++ b/src/plugins/forms/widgets/kexidbdatepicker.cpp |
37 |
+@@ -22,6 +22,7 @@ |
38 |
+ #include "kexidbdatepicker.h" |
39 |
+ #include <kexiutils/utils.h> |
40 |
+ |
41 |
++#include <QDate> |
42 |
+ #include <QLineEdit> |
43 |
+ #include <QInputMethodEvent> |
44 |
+ |
45 |
+-- |
46 |
+cgit v1.1 |
47 |
|
48 |
diff --git a/app-office/kexi/kexi-3.2.0.ebuild b/app-office/kexi/kexi-3.2.0.ebuild |
49 |
index c2ea1c5ddca..5bef8c3c826 100644 |
50 |
--- a/app-office/kexi/kexi-3.2.0.ebuild |
51 |
+++ b/app-office/kexi/kexi-3.2.0.ebuild |
52 |
@@ -56,6 +56,8 @@ DEPEND=" |
53 |
" |
54 |
RDEPEND="${DEPEND}" |
55 |
|
56 |
+PATCHES=( "${FILESDIR}"/${P}-missing-header.patch ) |
57 |
+ |
58 |
src_prepare() { |
59 |
if ! use webkit; then |
60 |
punt_bogus_dep Qt5 WebKit |