aboutsummaryrefslogtreecommitdiffstats
path: root/editors/calligraplan
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2018-09-04 21:12:27 +0800
committerjhale <jhale@FreeBSD.org>2018-09-04 21:12:27 +0800
commit455a4db80e09623b47fd89ecee403f1a696ae908 (patch)
tree1e027b1e4ed8b75787e162fa87b1883a3904e1f9 /editors/calligraplan
parentf3e4a5e598043067ce3b8ac0709879ab0dd32a82 (diff)
downloadfreebsd-ports-gnome-455a4db80e09623b47fd89ecee403f1a696ae908.tar.gz
freebsd-ports-gnome-455a4db80e09623b47fd89ecee403f1a696ae908.tar.zst
freebsd-ports-gnome-455a4db80e09623b47fd89ecee403f1a696ae908.zip
Fix build with Qt 5.11
PR: 230884 Obtained from: upstream
Diffstat (limited to 'editors/calligraplan')
-rw-r--r--editors/calligraplan/files/patch-git_a7ebecb98
1 files changed, 98 insertions, 0 deletions
diff --git a/editors/calligraplan/files/patch-git_a7ebecb b/editors/calligraplan/files/patch-git_a7ebecb
new file mode 100644
index 000000000000..cedf683daa04
--- /dev/null
+++ b/editors/calligraplan/files/patch-git_a7ebecb
@@ -0,0 +1,98 @@
+From a7ebecb9fbee2190e649c44ed53f1299013baa30 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sun, 18 Mar 2018 11:56:57 +0100
+Subject: [PATCH] Fix build with Qt 5.11 (missing headers)
+
+Reviewers: #calligra:_3.0, anthonyfieroni, danders
+
+Reviewed By: #calligra:_3.0, anthonyfieroni, danders
+
+Subscribers: anthonyfieroni, danders
+
+Tags: #calligra:_3.0
+
+Differential Revision: https://phabricator.kde.org/D11454
+
+--- src/kptview.h.orig 2018-01-26 09:24:44 UTC
++++ src/kptview.h
+@@ -28,6 +28,7 @@
+ #include "kptcontext.h"
+ #include "kptviewbase.h"
+
++#include <QActionGroup>
+ #include <QDockWidget>
+ #include <QMap>
+
+--- src/kptviewlist.cpp.orig 2018-01-26 09:24:44 UTC
++++ src/kptviewlist.cpp
+@@ -25,6 +25,7 @@
+ #include <QStyle>
+ #include <QBrush>
+ #include <QContextMenuEvent>
++#include <QHeaderView>
+ #include <QMenu>
+
+ #include <kmessagebox.h>
+--- src/libs/ui/kptaccountseditor.cpp.orig 2018-01-26 09:24:44 UTC
++++ src/libs/ui/kptaccountseditor.cpp
+@@ -40,6 +40,7 @@
+ #include <QContextMenuEvent>
+ #include <QMenu>
+ #include <QAction>
++#include <QHeaderView>
+
+ #include <KLocalizedString>
+ #include <kactioncollection.h>
+--- src/libs/ui/kptdocumentspanel.h.orig 2018-01-26 09:24:44 UTC
++++ src/libs/ui/kptdocumentspanel.h
+@@ -26,6 +26,7 @@
+
+ #include "kptdocuments.h"
+
++#include <QModelIndexList>
+ #include <QWidget>
+ #include <kundo2qstack.h>
+
+--- src/libs/ui/kptitemviewsettup.cpp.orig 2018-01-26 09:24:44 UTC
++++ src/libs/ui/kptitemviewsettup.cpp
+@@ -25,8 +25,8 @@
+
+ #include "KoPageLayoutWidget.h"
+
++#include <QHeaderView>
+ #include <QPushButton>
+-
+
+ namespace KPlato
+ {
+--- src/libs/ui/kpttaskeditor.cpp.orig 2018-01-26 09:24:44 UTC
++++ src/libs/ui/kpttaskeditor.cpp
+@@ -45,6 +45,7 @@
+ #include <QVBoxLayout>
+ #include <QDragMoveEvent>
+ #include <QAction>
++#include <QHeaderView>
+ #include <QMenu>
+
+ #include <kactionmenu.h>
+--- src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp.orig 2018-01-26 09:24:44 UTC
++++ src/libs/ui/reportsgenerator/ReportsGeneratorView.cpp
+@@ -31,6 +31,7 @@
+ #include <KFile>
+
+ #include <QAction>
++#include <QHeaderView>
+ #include <QTreeView>
+ #include <QStandardItemModel>
+ #include <QModelIndex>
+--- src/libs/widgets/KoPageLayoutWidget.cpp.orig 2018-01-26 09:24:44 UTC
++++ src/libs/widgets/KoPageLayoutWidget.cpp
+@@ -23,6 +23,8 @@
+
+ #include <KoUnit.h>
+
++#include <QButtonGroup>
++
+ class Q_DECL_HIDDEN KoPageLayoutWidget::Private
+ {
+ public: