app-office/calligra: Fix missing header with Frameworks 5.61
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 11 Aug 2019 07:24:55 +0000 (09:24 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 11 Aug 2019 08:19:25 +0000 (10:19 +0200)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-office/calligra/calligra-3.1.0-r3.ebuild
app-office/calligra/files/calligra-3.1.0-missing-header.patch [new file with mode: 0644]

index 81597b0d7d197600a7d33453128091818f3f972e..77136854363279654067682b938d182f7e7ffd0f 100644 (file)
@@ -121,6 +121,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-poppler-0.69.patch
        "${FILESDIR}"/${P}-poppler-0.71.patch
        "${FILESDIR}"/${P}-no-webkit.patch
+       "${FILESDIR}"/${P}-missing-header.patch
 )
 
 pkg_pretend() {
diff --git a/app-office/calligra/files/calligra-3.1.0-missing-header.patch b/app-office/calligra/files/calligra-3.1.0-missing-header.patch
new file mode 100644 (file)
index 0000000..f15c378
--- /dev/null
@@ -0,0 +1,23 @@
+From 0c5430697bdcf41a45046107b28014e40c49a11a Mon Sep 17 00:00:00 2001
+From: David Faure <faure@kde.org>
+Date: Tue, 23 Jul 2019 13:02:34 +0200
+Subject: Fix compilation with Qt 5.13 (missing include)
+
+---
+ sheets/plugins/calendar/CalendarToolWidget.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/sheets/plugins/calendar/CalendarToolWidget.cpp b/sheets/plugins/calendar/CalendarToolWidget.cpp
+index b10b230..0c5eeb6 100644
+--- a/sheets/plugins/calendar/CalendarToolWidget.cpp
++++ b/sheets/plugins/calendar/CalendarToolWidget.cpp
+@@ -30,6 +30,7 @@
+ #include <kdatepicker.h>
+ #include <QPushButton>
++#include <QDate>
+ namespace Calligra
+ {
+-- 
+cgit v1.1