python: add patches from archlinux for internal modules.
Add missing db dependency, bump revision. --HG-- extra : convert_revision : 6366bfde6a37f01d401fb393e98b47aae95ef878
This commit is contained in:
parent
7f9e6dfaa6
commit
1b55b53729
5 changed files with 197 additions and 1 deletions
11
templates/python/patches/python-2.6-gdbm.patch
Normal file
11
templates/python/patches/python-2.6-gdbm.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- setup.py 2008-09-30 10:15:45.000000000 +1000
|
||||
+++ setup.py 2008-12-07 16:04:01.000000000 +1000
|
||||
@@ -1013,7 +1013,7 @@
|
||||
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 ) )
|
Loading…
Add table
Add a link
Reference in a new issue