]> git.pld-linux.org Git - packages/python3.git/blame - python3-db.patch
- update to 3.8.0
[packages/python3.git] / python3-db.patch
CommitLineData
7bc67fbf
JB
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
3@@ -835,7 +835,7 @@
4 # a release. Most open source OSes come with one or more
5 # versions of BerkeleyDB already installed.
6
7- max_db_ver = (5, 3)
8801c9a4 8+ max_db_ver = (6, 2)
7bc67fbf
JB
9 min_db_ver = (3, 3)
10 db_setup_debug = False # verbose debug prints from this script?
11
3e35963a
AM
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):
d1a550a0
AM
15 for cand in dbm_order:
16 if cand == "ndbm":
3e35963a 17 if find_file("ndbm.h", self.inc_dirs, []) is not None:
d1a550a0
AM
18- # Some systems have -lndbm, others have -lgdbm_compat,
19- # others don't have either
3e35963a 20- if self.compiler.find_library_file(self.lib_dirs,
d1a550a0
AM
21- 'ndbm'):
22- ndbm_libs = ['ndbm']
3e35963a 23- elif self.compiler.find_library_file(self.lib_dirs,
d1a550a0
AM
24- 'gdbm_compat'):
25- ndbm_libs = ['gdbm_compat']
26- else:
27- ndbm_libs = []
28+ ndbm_libs = ['gdbm_compat']
29 if dbm_setup_debug: print("building dbm using ndbm")
30 dbmext = Extension('_dbm', ['_dbmmodule.c'],
31 define_macros=[
This page took 0.09871 seconds and 4 git commands to generate.