summaryrefslogtreecommitdiffstats
path: root/abs/core/python2/Python-2.4.4-gdbm-1.patch
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-09 03:55:04 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-09 03:55:04 (GMT)
commita34c6f33ceb002222d49919b8e702e6e19a81809 (patch)
tree4f210d0c1331c5e3279fb377b40229a311f02877 /abs/core/python2/Python-2.4.4-gdbm-1.patch
parent22cf86961b2c62437603fd3a61dfab580bedd837 (diff)
downloadlinhes_pkgbuild-a34c6f33ceb002222d49919b8e702e6e19a81809.zip
linhes_pkgbuild-a34c6f33ceb002222d49919b8e702e6e19a81809.tar.gz
linhes_pkgbuild-a34c6f33ceb002222d49919b8e702e6e19a81809.tar.bz2
python2: downgrade to python 2.6.6
Diffstat (limited to 'abs/core/python2/Python-2.4.4-gdbm-1.patch')
-rw-r--r--abs/core/python2/Python-2.4.4-gdbm-1.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/core/python2/Python-2.4.4-gdbm-1.patch b/abs/core/python2/Python-2.4.4-gdbm-1.patch
new file mode 100644
index 0000000..4b6c7eb
--- /dev/null
+++ b/abs/core/python2/Python-2.4.4-gdbm-1.patch
@@ -0,0 +1,17 @@
+--- Python-2.4.4/setup.py.orig 2007-01-14 12:50:46.000000000 -0600
++++ Python-2.4.4/setup.py 2007-01-14 12:54:02.000000000 -0600
+@@ -685,12 +685,12 @@
+ if self.compiler.find_library_file(lib_dirs, 'ndbm'):
+ ndbm_libs = ['ndbm']
+ else:
+- ndbm_libs = []
++ ndbm_libs = ['gdbm', 'gdbm_compat']
+ exts.append( Extension('dbm', ['dbmmodule.c'],
+ define_macros=[('HAVE_NDBM_H',None)],
+ libraries = ndbm_libs ) )
+ elif (self.compiler.find_library_file(lib_dirs, 'gdbm')
+- and find_file("gdbm/ndbm.h", inc_dirs, []) is not None):
++ and find_file("ndbm.h", inc_dirs, []) is not None):
+ exts.append( Extension('dbm', ['dbmmodule.c'],
+ define_macros=[('HAVE_GDBM_NDBM_H',None)],
+ libraries = ['gdbm'] ) )