source:
scripts/untested/blfs-patches/Python-2.4-gdbm-1.patch@
a8f17cf
Last change on this file since a8f17cf was 617118d, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.5 KB |
-
Python-2.3.2
Submitted By: Jim Gifford (jim at linuxfromscratch dot org) Date: 2003-12-26 Initial Package Version: 2.3.3 Origin: Greg Schafer and Jim Gifford Description: Fixes Python build issue with gdbm *** WARNING: renaming "dbm" since importing it failed: build/lib.linux-i686-2.3/dbm.so: undefined symbol: dbm_firstkey $LastChangedBy: igor $ $Date: 2005-01-06 08:31:17 -0700 (Thu, 06 Jan 2005) $ diff -Naur Python-2.3.2.orig/setup.py Python-2.3.2/setup.py
old new 596 596 if self.compiler.find_library_file(lib_dirs, 'ndbm'): 597 597 ndbm_libs = ['ndbm'] 598 598 else: 599 ndbm_libs = [ ]599 ndbm_libs = ['gdbm', 'gdbm_compat'] 600 600 exts.append( Extension('dbm', ['dbmmodule.c'], 601 601 define_macros=[('HAVE_NDBM_H',None)], 602 602 libraries = ndbm_libs ) ) 603 603 elif (self.compiler.find_library_file(lib_dirs, 'gdbm') 604 and find_file(" gdbm/ndbm.h", inc_dirs, []) is not None):604 and find_file("ndbm.h", inc_dirs, []) is not None): 605 605 exts.append( Extension('dbm', ['dbmmodule.c'], 606 606 define_macros=[('HAVE_GDBM_NDBM_H',None)], 607 607 libraries = ['gdbm'] ) )
Note:
See TracBrowser
for help on using the repository browser.