summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/kdevelop')
-rw-r--r--dev-util/kdevelop/files/kdevelop-5.3.3-missing-header.patch25
-rw-r--r--dev-util/kdevelop/kdevelop-5.3.3.ebuild2
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/kdevelop/files/kdevelop-5.3.3-missing-header.patch b/dev-util/kdevelop/files/kdevelop-5.3.3-missing-header.patch
new file mode 100644
index 000000000000..39b1122f7189
--- /dev/null
+++ b/dev-util/kdevelop/files/kdevelop-5.3.3-missing-header.patch
@@ -0,0 +1,25 @@
+From 125259eab4ddc525e816a9479d93038bffb73353 Mon Sep 17 00:00:00 2001
+From: Tomaz Canabrava <tcanabrava@kde.org>
+Date: Thu, 18 Jul 2019 18:07:39 +0200
+Subject: Add missing include
+
+(cherry picked from commit 8a3d8936fc4fce7eee1bcd62c0eb473ef908268d)
+---
+ kdevplatform/shell/mainwindow_p.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/kdevplatform/shell/mainwindow_p.h b/kdevplatform/shell/mainwindow_p.h
+index 3020957..1e915a0 100644
+--- a/kdevplatform/shell/mainwindow_p.h
++++ b/kdevplatform/shell/mainwindow_p.h
+@@ -25,7 +25,7 @@ Boston, MA 02110-1301, USA.
+ #include <QObject>
+ #include <QPointer>
+ #include <QWidget>
+-
++#include <QMap>
+ #include <KXMLGUIClient>
+
+ #include <language/util/navigationtooltip.h>
+--
+cgit v1.1
diff --git a/dev-util/kdevelop/kdevelop-5.3.3.ebuild b/dev-util/kdevelop/kdevelop-5.3.3.ebuild
index 9f502160d9d4..0e818dc362fa 100644
--- a/dev-util/kdevelop/kdevelop-5.3.3.ebuild
+++ b/dev-util/kdevelop/kdevelop-5.3.3.ebuild
@@ -93,6 +93,8 @@ RDEPEND="${COMMON_DEPEND}
RESTRICT+=" test"
# see bug 366471
+PATCHES=( "${FILESDIR}/${P}-missing-header.patch" )
+
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package gdbui KF5SysGuard)