From: Michael Tremer Date: Sun, 29 Jan 2012 23:26:52 +0000 (+0100) Subject: python: Force to build with db-4.8. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a24c4d29aee03f85ca55569e01d8da161d02e2a4;p=ipfire-3.x.git python: Force to build with db-4.8. --- 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 index 000000000..c9f5f5c89 --- /dev/null +++ b/python/patches/python-2.7.1-setup-db48.patch @@ -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) + diff --git a/python/python.nm b/python/python.nm index e6824d1f0..50cac58d9 100644 --- a/python/python.nm +++ b/python/python.nm @@ -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