1 --- Python-3.3.3/setup.py.orig 2013-11-21 18:36:59.259841950 +0100
2 +++ Python-3.3.3/setup.py 2013-11-21 19:07:23.173098741 +0100
4 # a release. Most open source OSes come with one or more
5 # versions of BerkeleyDB already installed.
10 db_setup_debug = False # verbose debug prints from this script?
12 --- Python-3.8.0/setup.py~ 2019-10-15 10:03:10.000000000 +0200
13 +++ Python-3.8.0/setup.py 2019-10-15 10:03:52.493993277 +0200
14 @@ -1275,16 +1275,7 @@ class PyBuildExt(build_ext):
15 for cand in dbm_order:
17 if find_file("ndbm.h", self.inc_dirs, []) is not None:
18 - # Some systems have -lndbm, others have -lgdbm_compat,
19 - # others don't have either
20 - if self.compiler.find_library_file(self.lib_dirs,
22 - ndbm_libs = ['ndbm']
23 - elif self.compiler.find_library_file(self.lib_dirs,
25 - ndbm_libs = ['gdbm_compat']
28 + ndbm_libs = ['gdbm_compat']
29 if dbm_setup_debug: print("building dbm using ndbm")
30 dbmext = Extension('_dbm', ['_dbmmodule.c'],