kde-apps/kmail: Fix missing header with Frameworks 5.61
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 14 Aug 2019 08:46:42 +0000 (10:46 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 14 Aug 2019 08:47:09 +0000 (10:47 +0200)
Closes: https://bugs.gentoo.org/692116
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-apps/kmail/files/kmail-19.04.3-missing-header.patch [new file with mode: 0644]
kde-apps/kmail/kmail-19.04.3.ebuild

diff --git a/kde-apps/kmail/files/kmail-19.04.3-missing-header.patch b/kde-apps/kmail/files/kmail-19.04.3-missing-header.patch
new file mode 100644 (file)
index 0000000..6c6cc30
--- /dev/null
@@ -0,0 +1,24 @@
+From 201eac97eba591e16f0108e2605b9977e2db9a03 Mon Sep 17 00:00:00 2001
+From: Allen Winter <winter@kde.org>
+Date: Thu, 18 Jul 2019 15:35:24 -0400
+Subject: summaryview_part.h - fix build by including QMap
+
+---
+ src/kontactplugin/summary/summaryview_part.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/kontactplugin/summary/summaryview_part.h b/src/kontactplugin/summary/summaryview_part.h
+index 542335d..b116e23 100644
+--- a/src/kontactplugin/summary/summaryview_part.h
++++ b/src/kontactplugin/summary/summaryview_part.h
+@@ -25,7 +25,7 @@
+ #define SUMMARYVIEW_PART_H
+ #include <KParts/ReadOnlyPart>
+-#include <kparts/readonlypart.h>
++#include <QMap>
+ class DropWidget;
+-- 
+cgit v1.1
index 0b70de2bd9b35ab7a73a14df64a662be691f27be..3fb1fb73c9aaac1cc2c228a58e3510a3577e9d08 100644 (file)
@@ -83,6 +83,8 @@ RDEPEND="${COMMON_DEPEND}
        $(add_kdeapps_dep kmail-account-wizard)
 "
 
+PATCHES=( "${FILESDIR}/${P}-missing-header.patch" )
+
 RESTRICT+=" test" # bug 616878
 
 src_prepare() {