summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-08-14 10:46:42 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-08-14 10:47:09 +0200
commit889b7cb2cd6dd320ff513d407b6a67dbef0a1172 (patch)
tree6293321a132854f6bddbf103bb39761383d8dab1 /kde-apps
parentkde-apps/kdepim-runtime: Add another upstream race condition fix (diff)
downloadgentoo-889b7cb2cd6dd320ff513d407b6a67dbef0a1172.tar.gz
gentoo-889b7cb2cd6dd320ff513d407b6a67dbef0a1172.tar.bz2
gentoo-889b7cb2cd6dd320ff513d407b6a67dbef0a1172.zip
kde-apps/kmail: Fix missing header with Frameworks 5.61
Closes: https://bugs.gentoo.org/692116 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kmail/files/kmail-19.04.3-missing-header.patch24
-rw-r--r--kde-apps/kmail/kmail-19.04.3.ebuild2
2 files changed, 26 insertions, 0 deletions
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
index 000000000000..6c6cc3092132
--- /dev/null
+++ b/kde-apps/kmail/files/kmail-19.04.3-missing-header.patch
@@ -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
diff --git a/kde-apps/kmail/kmail-19.04.3.ebuild b/kde-apps/kmail/kmail-19.04.3.ebuild
index 0b70de2bd9b3..3fb1fb73c9aa 100644
--- a/kde-apps/kmail/kmail-19.04.3.ebuild
+++ b/kde-apps/kmail/kmail-19.04.3.ebuild
@@ -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() {