]> git.pld-linux.org Git - packages/python3.git/blob - python3-db.patch
- rel 2; install gdb helper so gdb functions like py-bt (nice pythonised backtrace...
[packages/python3.git] / python3-db.patch
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)
8 +        max_db_ver = (6, 2)
9          min_db_ver = (3, 3)
10          db_setup_debug = False   # verbose debug prints from this script?
11  
12 --- Python-3.6.0/setup.py~      2016-12-27 23:21:52.000000000 +0100
13 +++ Python-3.6.0/setup.py       2016-12-27 23:28:54.720208583 +0100
14 @@ -1252,16 +1252,7 @@ class PyBuildExt(build_ext):
15              for cand in dbm_order:
16                  if cand == "ndbm":
17                      if find_file("ndbm.h", 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(lib_dirs,
21 -                                                               'ndbm'):
22 -                            ndbm_libs = ['ndbm']
23 -                        elif self.compiler.find_library_file(lib_dirs,
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.066435 seconds and 3 git commands to generate.