summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/4suite/files/4suite-1.0.2-amd64_python2.5.patch')
-rw-r--r--dev-python/4suite/files/4suite-1.0.2-amd64_python2.5.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-python/4suite/files/4suite-1.0.2-amd64_python2.5.patch b/dev-python/4suite/files/4suite-1.0.2-amd64_python2.5.patch
new file mode 100644
index 000000000000..e8c088ad6412
--- /dev/null
+++ b/dev-python/4suite/files/4suite-1.0.2-amd64_python2.5.patch
@@ -0,0 +1,11 @@
+--- Ft/Lib/DistExt/BuildExt.py.orig 2006-12-29 00:09:54.000000000 +0100
++++ Ft/Lib/DistExt/BuildExt.py 2006-12-29 00:10:37.000000000 +0100
+@@ -61,6 +61,8 @@
+ if (sys.platform.startswith('linux') and
+ sysconfig.get_config_var('Py_ENABLE_SHARED')):
+ libpl, ldlibrary = sysconfig.get_config_vars('LIBPL', 'LDLIBRARY')
++ if libpl not in self.library_dirs:
++ libpl = os.path.join(sys.prefix, 'lib', 'python' + sys.version[:3], 'config')
+ if libpl in self.library_dirs:
+ if not os.path.exists(os.path.join(libpl, ldlibrary)):
+ self.library_dirs.remove(libpl)