summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-08-06 21:01:42 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-08-06 22:10:11 +0200
commitd4d0c4474bd72d57f1f9584febb25cdb189b4c4c (patch)
tree834a6a63129a32bfddf1e0ec7e7f44619dbb47ac /kde-apps/kate
parentdev-util/cmake: Drop 3.14.3, 3.15.0 (diff)
downloadgentoo-d4d0c4474bd72d57f1f9584febb25cdb189b4c4c.tar.gz
gentoo-d4d0c4474bd72d57f1f9584febb25cdb189b4c4c.tar.bz2
gentoo-d4d0c4474bd72d57f1f9584febb25cdb189b4c4c.zip
kde-apps/kate: Fix build error caused by missing header (Qt 5.12.4?)
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/kate')
-rw-r--r--kde-apps/kate/files/kate-19.04.3-qt-5.12.4-missing-header.patch23
-rw-r--r--kde-apps/kate/kate-19.04.3.ebuild2
2 files changed, 25 insertions, 0 deletions
diff --git a/kde-apps/kate/files/kate-19.04.3-qt-5.12.4-missing-header.patch b/kde-apps/kate/files/kate-19.04.3-qt-5.12.4-missing-header.patch
new file mode 100644
index 00000000000..3fd4147bd0f
--- /dev/null
+++ b/kde-apps/kate/files/kate-19.04.3-qt-5.12.4-missing-header.patch
@@ -0,0 +1,23 @@
+From fce700be7740704929c8bd64549ddf80774e4bda Mon Sep 17 00:00:00 2001
+From: Christoph Cullmann <cullmann@kde.org>
+Date: Thu, 18 Jul 2019 22:10:05 +0200
+Subject: add missing header
+
+---
+ kate/katemdi.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/kate/katemdi.cpp b/kate/katemdi.cpp
+index 495d1a5..8173ebe 100644
+--- a/kate/katemdi.cpp
++++ b/kate/katemdi.cpp
+@@ -43,6 +43,7 @@
+ #include <QSizePolicy>
+ #include <QStyle>
+ #include <QDomDocument>
++#include <QVBoxLayout>
+
+ namespace KateMDI
+ {
+--
+cgit v1.1
diff --git a/kde-apps/kate/kate-19.04.3.ebuild b/kde-apps/kate/kate-19.04.3.ebuild
index ed64d1dc24a..b47fc1d5b38 100644
--- a/kde-apps/kate/kate-19.04.3.ebuild
+++ b/kde-apps/kate/kate-19.04.3.ebuild
@@ -53,6 +53,8 @@ RDEPEND="${DEPEND}
!kde-misc/ktexteditorpreviewplugin
"
+PATCHES=( "${FILESDIR}/${P}-qt-5.12.4-missing-header.patch" )
+
src_prepare() {
kde5_src_prepare
# test hangs