[arch-commits] Commit in python/trunk (PKGBUILD db4.7-setup.py-detection.patch)

andyrtr at archlinux.org andyrtr at archlinux.org
Wed Jul 2 12:38:23 EDT 2008


    Date: Wednesday, July 2, 2008 @ 12:38:22
  Author: andyrtr
Revision: 3989

upgpkg: python 2.5.2-4
    fix db detection

Added:
  python/trunk/db4.7-setup.py-detection.patch
Modified:
  python/trunk/PKGBUILD

--------------------------------+
 PKGBUILD                       |    6 +++---
 db4.7-setup.py-detection.patch |   11 +++++++++++
 2 files changed, 14 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-02 16:29:12 UTC (rev 3988)
+++ PKGBUILD	2008-07-02 16:38:22 UTC (rev 3989)
@@ -19,7 +19,7 @@
 	modulator-launcher
 	pynche-launcher
 	Python-2.4.4-gdbm-1.patch
-	db4.6-setup.py-detection.patch
+	db4.7-setup.py-detection.patch
 	python-2.5.CVE-2007-4965-int-overflow.patch
 	python2.6-set_wakeup_fd4.patch
 	Python-2.5.2-idlelib.patch)
@@ -27,7 +27,7 @@
          'faa0d4b947bfe67fc8684b5c464f46f2'
          '60a44af1d8af276274e20c564c0f3d8b'
          '2b61e06365e9fb5f3af22d946efa8be6'
-         'ad59f0d7c862d9714c7580899bc1c356'
+         '176398feef253b7c01de2b4691a2719b'
          '491416c1b337fc61b6cdf5981d895a7d'
          'ec56710959deb01b5fa35829cafec6a3'
          'e6441e0b013ac64795221154e0495e10')
@@ -35,7 +35,7 @@
 build() {
   cd ${startdir}/src/Python-${pkgver}
   patch -Np1 -i ${srcdir}/Python-2.4.4-gdbm-1.patch || return 1
-  patch -Np0 -i ${srcdir}/db4.6-setup.py-detection.patch || return 1
+  patch -Np0 -i ${srcdir}/db4.7-setup.py-detection.patch || return 1
   # fix http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4965
   patch -Np1 -i ${srcdir}/python-2.5.CVE-2007-4965-int-overflow.patch || return 1
   

Added: db4.7-setup.py-detection.patch
===================================================================
--- db4.7-setup.py-detection.patch	                        (rev 0)
+++ db4.7-setup.py-detection.patch	2008-07-02 16:38:22 UTC (rev 3989)
@@ -0,0 +1,11 @@
+--- setup.py	2008-02-23 20:58:52.000000000 +0000
++++ setup.py.new	2008-02-23 21:04:18.000000000 +0000
+@@ -608,7 +608,7 @@
+         # a release.  Most open source OSes come with one or more
+         # versions of BerkeleyDB already installed.
+ 
+-        max_db_ver = (4, 5)
++        max_db_ver = (4, 7)
+         # NOTE: while the _bsddb.c code links against BerkeleyDB 4.6.x
+         # we leave that version disabled by default as it has proven to be
+         # quite a buggy library release on many platforms.





More information about the arch-commits mailing list