summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-08-09 21:33:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-08-09 21:36:21 +0200
commit19ea0269a3ae662efa67ce06a0499f13d2360545 (patch)
tree132638b797209e97c05d838466edfd539c46f97f /kde-apps
parentkde-apps/kaccounts-providers: Fix missing header w/ future Frameworks (diff)
downloadgentoo-19ea0269a3ae662efa67ce06a0499f13d2360545.tar.gz
gentoo-19ea0269a3ae662efa67ce06a0499f13d2360545.tar.bz2
gentoo-19ea0269a3ae662efa67ce06a0499f13d2360545.zip
kde-apps/krfb: Fix missing header w/ future Frameworks
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/krfb/files/krfb-19.04.3-missing-header.patch26
-rw-r--r--kde-apps/krfb/krfb-19.04.3.ebuild2
2 files changed, 28 insertions, 0 deletions
diff --git a/kde-apps/krfb/files/krfb-19.04.3-missing-header.patch b/kde-apps/krfb/files/krfb-19.04.3-missing-header.patch
new file mode 100644
index 000000000000..fc3220d4f40d
--- /dev/null
+++ b/kde-apps/krfb/files/krfb-19.04.3-missing-header.patch
@@ -0,0 +1,26 @@
+From 9290ba179c5d1e3a0a829666f4cb24177cb49395 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Fri, 9 Aug 2019 21:19:23 +0200
+Subject: [PATCH] Add missing QHash
+
+Fixes build with future Frameworks.
+---
+ krfb/trayicon.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/krfb/trayicon.h b/krfb/trayicon.h
+index 6517e4a..166e97b 100644
+--- a/krfb/trayicon.h
++++ b/krfb/trayicon.h
+@@ -18,6 +18,8 @@
+ #ifndef TRAYICON_H
+ #define TRAYICON_H
+
++#include <QHash>
++
+ #include <KStatusNotifierItem>
+
+ class RfbClient;
+--
+2.22.0
+
diff --git a/kde-apps/krfb/krfb-19.04.3.ebuild b/kde-apps/krfb/krfb-19.04.3.ebuild
index a9b3a7bce249..5779798598ea 100644
--- a/kde-apps/krfb/krfb-19.04.3.ebuild
+++ b/kde-apps/krfb/krfb-19.04.3.ebuild
@@ -36,3 +36,5 @@ DEPEND="
x11-libs/xcb-util-image
"
RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${P}-missing-header.patch" )