summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2013-03-26 03:23:52 +0000
committerRyan Hill <dirtyepic@gentoo.org>2013-03-26 03:23:52 +0000
commit554428746064cb88f2ad03456539f8012389120f (patch)
tree6d82b34769641c71660c10535eed7c39b65c402c /dev-python/wxpython/files
parentUpdate changelog as repoman didn't for some reason (diff)
downloadgentoo-2-554428746064cb88f2ad03456539f8012389120f.tar.gz
gentoo-2-554428746064cb88f2ad03456539f8012389120f.tar.bz2
gentoo-2-554428746064cb88f2ad03456539f8012389120f.zip
Prevent build system from considering preserved libs when checking wxGTK
features. (bug #376339). (Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
Diffstat (limited to 'dev-python/wxpython/files')
-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 000000000000..5e4221d51506
--- /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
+