summaryrefslogtreecommitdiffstats
path: root/kde/patch/pykde4/0001-use-LIB_PYTHON-realpath.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-02-13 11:45:26 +0100
committer Eric Hameleers <alien@slackware.com>2017-02-13 11:45:26 +0100
commit9c440ecbacae4f5377a2c4733b2d08eb92e23cf9 (patch)
tree6b9ec3f14ba0371f2b076144486850c8bed8a6a0 /kde/patch/pykde4/0001-use-LIB_PYTHON-realpath.patch
parent934ceeb00964cb4fec8632497f744a633434a1a4 (diff)
downloadktown-9c440ecbacae4f5377a2c4733b2d08eb92e23cf9.tar.gz
ktown-9c440ecbacae4f5377a2c4733b2d08eb92e23cf9.tar.xz
KDE 5_17.01: a batch of packages had to be rebuilt for Slackware-current.
Diffstat (limited to 'kde/patch/pykde4/0001-use-LIB_PYTHON-realpath.patch')
-rw-r--r--kde/patch/pykde4/0001-use-LIB_PYTHON-realpath.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/kde/patch/pykde4/0001-use-LIB_PYTHON-realpath.patch b/kde/patch/pykde4/0001-use-LIB_PYTHON-realpath.patch
new file mode 100644
index 0000000..85ad4bc
--- /dev/null
+++ b/kde/patch/pykde4/0001-use-LIB_PYTHON-realpath.patch
@@ -0,0 +1,31 @@
+From 34bed3ceb7cd2bb43e67acce97f4cc3e8bbc1c1d Mon Sep 17 00:00:00 2001
+From: Rex Dieter <rdieter@math.unl.edu>
+Date: Tue, 11 Mar 2014 09:51:17 -0500
+Subject: [PATCH 1/3] use LIB_PYTHON realpath
+
+Use GET_FILENAME_COMPONENT( ... REALPATH). PYTHON_LIBRARY as returned
+by cmake, whose target is often a symlink. Some distro packaging
+reserves such library symlinks for -devel and not runtime.
+
+REVIEW: 116719
+---
+ kpythonpluginfactory/CMakeLists.txt | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/kpythonpluginfactory/CMakeLists.txt b/kpythonpluginfactory/CMakeLists.txt
+index c24160e..a777dac 100644
+--- a/kpythonpluginfactory/CMakeLists.txt
++++ b/kpythonpluginfactory/CMakeLists.txt
+@@ -3,7 +3,8 @@
+ set(kpythonpluginfactory_SRCS
+ kpythonpluginfactory.cpp)
+
+-GET_FILENAME_COMPONENT(LIB_PYTHON ${PYTHON_LIBRARIES} NAME)
++GET_FILENAME_COMPONENT(PYTHON_LIBRARY_REALPATH "${PYTHON_LIBRARY}" REALPATH)
++GET_FILENAME_COMPONENT(LIB_PYTHON ${PYTHON_LIBRARY_REALPATH} NAME)
+ ADD_DEFINITIONS(-DLIB_PYTHON="${LIB_PYTHON}")
+ ADD_DEFINITIONS(-DKDE_DEFAULT_DEBUG_AREA=15000)
+
+--
+2.9.3
+