summaryrefslogtreecommitdiffstats
path: root/package/python/python-015-fix-sqlite-without-threads.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-12-28 21:54:54 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-02 19:30:25 +0100
commit9badea2d058a75182f2a37bbefa0aaf48020575d (patch)
treebd74cae25f0d4bf0248c9a4a718fd14559a9d640 /package/python/python-015-fix-sqlite-without-threads.patch
parentc24c874810054cb0185807fe797d92056207bbbe (diff)
downloadbuildroot-9badea2d058a75182f2a37bbefa0aaf48020575d.tar.gz
buildroot-9badea2d058a75182f2a37bbefa0aaf48020575d.zip
python: bump to 2.7.9
In addition to doing the bump, this commit also: - Refreshes all the patches - Removes python-003-properly-detect-if-python-build.patch, which has been applied upstream. - Passes the --without-ensurepip option, like is done in Python 3, to avoid having Python use PIP to automatically download stuff when it is being built. - PYTHON_LIBTOOL_PATH = NO is added to prevent Buildroot from trying to patch a version of libtool for which we don't have matching patches, which isn't a problem since we're anyway not using the part of the Python sources that uses libtool (it's the built-in copy of libffi, and we use the external libffi). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'package/python/python-015-fix-sqlite-without-threads.patch')
-rw-r--r--package/python/python-015-fix-sqlite-without-threads.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/python/python-015-fix-sqlite-without-threads.patch b/package/python/python-015-fix-sqlite-without-threads.patch
index 805edff6d3..f51c37b372 100644
--- a/package/python/python-015-fix-sqlite-without-threads.patch
+++ b/package/python/python-015-fix-sqlite-without-threads.patch
@@ -35,9 +35,10 @@ is never the last statement of the function.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-diff -durN python-2.7.8.orig/Modules/_sqlite/connection.c python-2.7.8/Modules/_sqlite/connection.c
---- python-2.7.8.orig/Modules/_sqlite/connection.c 2014-06-30 04:05:42.000000000 +0200
-+++ python-2.7.8/Modules/_sqlite/connection.c 2014-07-12 13:53:32.258041224 +0200
+Index: b/Modules/_sqlite/connection.c
+===================================================================
+--- a/Modules/_sqlite/connection.c
++++ b/Modules/_sqlite/connection.c
@@ -786,6 +786,7 @@
#ifdef WITH_THREAD
PyGILState_Release(threadstate);
OpenPOWER on IntegriCloud