summaryrefslogtreecommitdiff
path: root/dev-python/wxpython/files/wxpython-2.8-no-preservatives-added.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-08-24 17:41:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-08-24 17:41:43 +0100
commitabdc78ab229a98456b02aa578570c900b7df21cb (patch)
treeabaa92ac2cad1a6b8ce6e2aa7288622966003d75 /dev-python/wxpython/files/wxpython-2.8-no-preservatives-added.patch
parent7c2f8dd5dcabf5699f6809944c139f98e6fcd29c (diff)
dev-python/wxpython : import from portage tree, fix missing symlinks (first attempt to fix https://bugs.redcorelinux.org/show_bug.cgi?id=43)
Diffstat (limited to 'dev-python/wxpython/files/wxpython-2.8-no-preservatives-added.patch')
-rw-r--r--dev-python/wxpython/files/wxpython-2.8-no-preservatives-added.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/wxpython/files/wxpython-2.8-no-preservatives-added.patch b/dev-python/wxpython/files/wxpython-2.8-no-preservatives-added.patch
new file mode 100644
index 00000000..5e4221d5
--- /dev/null
+++ b/dev-python/wxpython/files/wxpython-2.8-no-preservatives-added.patch
@@ -0,0 +1,16 @@
+Portage preserve-libs removes the linker name (.so) of a library but leaves
+the soname (.so.4) and realname (.so.4.0) installed. findLib searches for
+mywxlibname.* and returns true if anything is found. Disaster ensues.
+
+
+--- a/wxPython/config.py
++++ b/wxPython/config.py
+@@ -612,7 +612,7 @@ def findLib(name, libdirs):
+ dirs = libdirs[:]
+ for d in dirs:
+ p = os.path.join(d, name)
+- if glob.glob(p+'*') != []:
++ if glob.glob(p+'*.so') != []:
+ return True
+ return False
+