]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/Python-2.7.9-gdbm-1.patch
pakfire: use correct tree on x86_64.
[ipfire-2.x.git] / src / patches / Python-2.7.9-gdbm-1.patch
1 diff -Naur Python-2.7-org/setup.py Python-2.7/setup.py
2 --- Python-2.7-org/setup.py 2010-06-27 14:36:16.000000000 +0200
3 +++ Python-2.7/setup.py 2010-07-13 22:23:04.000000000 +0200
4 @@ -1125,7 +1125,7 @@
5 'ndbm'):
6 ndbm_libs = ['ndbm']
7 else:
8 - ndbm_libs = []
9 + ndbm_libs = ['gdbm', 'gdbm_compat' ]
10 print "building dbm using ndbm"
11 dbmext = Extension('dbm', ['dbmmodule.c'],
12 define_macros=[
13 @@ -1140,7 +1140,7 @@
14 if self.compiler.find_library_file(lib_dirs,
15 'gdbm_compat'):
16 gdbm_libs.append('gdbm_compat')
17 - if find_file("gdbm/ndbm.h", inc_dirs, []) is not None:
18 + if find_file("ndbm.h", inc_dirs, []) is not None:
19 print "building dbm using gdbm"
20 dbmext = Extension(
21 'dbm', ['dbmmodule.c'],