summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-02-11 14:44:34 +1100
committerMichael Palimaka <kensington@gentoo.org>2017-02-11 14:45:52 +1100
commitd2ced4da6a47084e23ed66581e056c2755f38f9c (patch)
tree5dea1ac224c3389867ea31181fd901e6bd7df95e /kde-plasma/kscreenlocker
parentdev-python/snowballstemmer: PYTHON_COMPAT: add python3_6 (diff)
downloadgentoo-d2ced4da6a47084e23ed66581e056c2755f38f9c.tar.gz
gentoo-d2ced4da6a47084e23ed66581e056c2755f38f9c.tar.bz2
gentoo-d2ced4da6a47084e23ed66581e056c2755f38f9c.zip
kde-plasma/kscreenlocker: backport patch from upstream removing bogus dependency
Gentoo-bug: 608300 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'kde-plasma/kscreenlocker')
-rw-r--r--kde-plasma/kscreenlocker/files/kscreenlocker-5.9.1-deps.patch31
-rw-r--r--kde-plasma/kscreenlocker/kscreenlocker-5.9.1.ebuild2
2 files changed, 33 insertions, 0 deletions
diff --git a/kde-plasma/kscreenlocker/files/kscreenlocker-5.9.1-deps.patch b/kde-plasma/kscreenlocker/files/kscreenlocker-5.9.1-deps.patch
new file mode 100644
index 000000000000..fca598d91c58
--- /dev/null
+++ b/kde-plasma/kscreenlocker/files/kscreenlocker-5.9.1-deps.patch
@@ -0,0 +1,31 @@
+Gentoo-bug: 608300
+
+From dd9a089cfaefb24f012a137618e00005a48b6009 Mon Sep 17 00:00:00 2001
+From: Kai Uwe Broulik <kde@privat.broulik.de>
+Date: Wed, 8 Feb 2017 18:11:31 +0100
+Subject: [PATCH] Stop linking X11_Xcursor_LIB in KScreenLocker
+
+It's not used.
+
+BUG: 376068
+
+Differential Revision: https://phabricator.kde.org/D4505
+---
+ CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ef4bc6b..ec04a4d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -144,7 +144,6 @@ PRIVATE
+ KF5::ConfigGui
+ KF5::WindowSystem
+ ${X11_LIBRARIES}
+- ${X11_Xcursor_LIB}
+ XCB::XCB
+ XCB::KEYSYMS
+ KF5::WaylandServer
+--
+2.10.2
+
diff --git a/kde-plasma/kscreenlocker/kscreenlocker-5.9.1.ebuild b/kde-plasma/kscreenlocker/kscreenlocker-5.9.1.ebuild
index 9c1a67e6f762..3f8a150c2e9b 100644
--- a/kde-plasma/kscreenlocker/kscreenlocker-5.9.1.ebuild
+++ b/kde-plasma/kscreenlocker/kscreenlocker-5.9.1.ebuild
@@ -53,6 +53,8 @@ RDEPEND="${COMMON_DEPEND}
RESTRICT+=" test"
+PATCHES=( "${FILESDIR}/${PN}-5.9.1-deps.patch" )
+
src_prepare() {
kde5_src_prepare