summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/kitemviews/files/kitemviews-5.64.0-qt-5.14.0.patch23
-rw-r--r--kde-frameworks/kitemviews/kitemviews-5.64.0.ebuild2
2 files changed, 25 insertions, 0 deletions
diff --git a/kde-frameworks/kitemviews/files/kitemviews-5.64.0-qt-5.14.0.patch b/kde-frameworks/kitemviews/files/kitemviews-5.64.0-qt-5.14.0.patch
new file mode 100644
index 00000000000..a714554ac00
--- /dev/null
+++ b/kde-frameworks/kitemviews/files/kitemviews-5.64.0-qt-5.14.0.patch
@@ -0,0 +1,23 @@
+From 69b9ac0575d905ded79ed013c6e2374d9ebeb841 Mon Sep 17 00:00:00 2001
+From: Roman Gilg <subdiff@gmail.com>
+Date: Fri, 22 Nov 2019 17:48:20 +0100
+Subject: Add missing include for Qt 5.14 build
+
+---
+ src/kwidgetitemdelegatepool_p.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/kwidgetitemdelegatepool_p.h b/src/kwidgetitemdelegatepool_p.h
+index 206ee0e..9d0147b 100644
+--- a/src/kwidgetitemdelegatepool_p.h
++++ b/src/kwidgetitemdelegatepool_p.h
+@@ -24,6 +24,7 @@
+
+ #include <QHash>
+ #include <QList>
++#include <QPersistentModelIndex>
+
+ class QWidget;
+ class QStyleOptionViewItem;
+--
+cgit v1.1
diff --git a/kde-frameworks/kitemviews/kitemviews-5.64.0.ebuild b/kde-frameworks/kitemviews/kitemviews-5.64.0.ebuild
index 748451a9b43..61cdfe5533f 100644
--- a/kde-frameworks/kitemviews/kitemviews-5.64.0.ebuild
+++ b/kde-frameworks/kitemviews/kitemviews-5.64.0.ebuild
@@ -22,3 +22,5 @@ DEPEND="
>=dev-qt/qtwidgets-${QTMIN}:5
"
RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-qt-5.14.0.patch" )