]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
python: Force to build with db-4.8.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 29 Jan 2012 23:26:52 +0000 (00:26 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 29 Jan 2012 23:26:52 +0000 (00:26 +0100)
python/patches/python-2.7.1-setup-db48.patch [new file with mode: 0644]
python/python.nm

diff --git a/python/patches/python-2.7.1-setup-db48.patch b/python/patches/python-2.7.1-setup-db48.patch
new file mode 100644 (file)
index 0000000..c9f5f5c
--- /dev/null
@@ -0,0 +1,13 @@
+diff -up Python-2.6.4/Modules/Setup.dist.setup-db48 Python-2.6.4/Modules/Setup.dist
+--- Python-2.6.4/Modules/Setup.dist.setup-db48 2009-12-17 22:05:07.000020150 -0500
++++ Python-2.6.4/Modules/Setup.dist    2009-12-17 22:05:12.545015367 -0500
+@@ -411,7 +411,7 @@ gdbm gdbmmodule.c -lgdbm
+ #
+ # Edit the variables DB and DBLIBVERto point to the db top directory
+ # and the subdirectory of PORT where you built it.
+-DBLIBVER=4.7
++DBLIBVER=4.8
+ DBINC=/usr/include/db4
+ DBLIB=/usr/lib
+ _bsddb _bsddb.c -I$(DBINC) -L$(DBLIB) -ldb-$(DBLIBVER)
+
index e6824d1f0f7ba72e5c631587f271c9cb975bfee2..50cac58d9e0f41cdd5204f96e013a38cd77adbcc 100644 (file)
@@ -6,7 +6,7 @@
 name       = python
 major_ver  = 2.7
 version    = %{major_ver}.2
-release    = 5
+release    = 6
 thisapp    = Python-%{version}
 
 groups     = Development/Languages
@@ -30,7 +30,7 @@ build
                autoconf
                automake
                bzip2-devel
-               db4-devel
+               db4-devel >= 4.8
                expat-devel
                libffi-devel
                libselinux-devel