app-office/calligra: Fix build with Qt-5.11
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 15 Jul 2018 10:01:56 +0000 (12:01 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 15 Jul 2018 10:38:19 +0000 (12:38 +0200)
Closes: https://bugs.gentoo.org/661222
Package-Manager: Portage-2.3.41, Repoman-2.3.9

app-office/calligra/calligra-3.1.0-r2.ebuild
app-office/calligra/files/calligra-3.1.0-stage-qt-5.11.patch [new file with mode: 0644]

index 0389b5b7c9d74fb7c0d4f32e0dde851711f109c5..e2a76aa73c6f207340e42eca31d3f79ac9ece5da 100644 (file)
@@ -142,6 +142,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-no-arch-detection.patch
        "${FILESDIR}"/${P}-doc.patch
        "${FILESDIR}"/${P}-qt-5.11.patch
+       "${FILESDIR}"/${P}-stage-qt-5.11.patch
 )
 
 pkg_pretend() {
diff --git a/app-office/calligra/files/calligra-3.1.0-stage-qt-5.11.patch b/app-office/calligra/files/calligra-3.1.0-stage-qt-5.11.patch
new file mode 100644 (file)
index 0000000..120864e
--- /dev/null
@@ -0,0 +1,23 @@
+From ee83e0f2c251072e47a2799619cdc79efe67e651 Mon Sep 17 00:00:00 2001
+From: David Faure <faure@kde.org>
+Date: Tue, 3 Apr 2018 00:31:19 +0200
+Subject: Fix compilation with Qt 5.11 (missing include)
+
+---
+ stage/part/KPrPresentationTool.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/stage/part/KPrPresentationTool.cpp b/stage/part/KPrPresentationTool.cpp
+index ae743da..3007f91 100644
+--- a/stage/part/KPrPresentationTool.cpp
++++ b/stage/part/KPrPresentationTool.cpp
+@@ -32,6 +32,7 @@
+ #include <QDesktopServices>
+ #include <QUrl>
+ #include <QDBusConnection>
++#include <QFrame>
+ #include <KoShape.h>
+ #include <KoShapeManager.h>
+-- 
+cgit v0.11.2