summaryrefslogtreecommitdiffstats
path: root/package/python3/0031-Add-an-option-to-disable-openssl-support.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-08 00:00:29 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-09 22:35:30 +0100
commit63aeae6538770ab7f4eb048373b2e8d99c26d4c5 (patch)
tree47eb9da38f1747493ba5be0dcbd232314e55af22 /package/python3/0031-Add-an-option-to-disable-openssl-support.patch
parent3c98442669f173818a8cce9479ebb0806cb9f8a2 (diff)
downloadbuildroot-63aeae6538770ab7f4eb048373b2e8d99c26d4c5.tar.gz
buildroot-63aeae6538770ab7f4eb048373b2e8d99c26d4c5.zip
python3: refresh Git formatted patches
This refreshes the set of python3 patches so they apply cleanly on the v3.5.2 tag of cpython Github repository. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python3/0031-Add-an-option-to-disable-openssl-support.patch')
-rw-r--r--package/python3/0031-Add-an-option-to-disable-openssl-support.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/python3/0031-Add-an-option-to-disable-openssl-support.patch b/package/python3/0031-Add-an-option-to-disable-openssl-support.patch
new file mode 100644
index 0000000000..784320b15e
--- /dev/null
+++ b/package/python3/0031-Add-an-option-to-disable-openssl-support.patch
@@ -0,0 +1,30 @@
+From d903da1181cedb76d8191b33aea0519844f85b22 Mon Sep 17 00:00:00 2001
+From: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
+Date: Tue, 7 Mar 2017 23:25:12 +0100
+Subject: [PATCH] Add an option to disable openssl support.
+
+Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
+---
+ configure.ac | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/configure.ac b/configure.ac
+index 16a827c..65c0ce0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -3027,6 +3027,12 @@ AC_ARG_ENABLE(unicodedata,
+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata"
+ fi])
+
++AC_ARG_ENABLE(openssl,
++ AS_HELP_STRING([--disable-openssl], [disable openssl support]),
++ [ if test "$enableval" = "no"; then
++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib"
++ fi])
++
+ AC_SUBST(TK)
+ AC_ARG_ENABLE(tk,
+ AS_HELP_STRING([--disable-tk], [disable tk]),
+--
+2.7.4
+
OpenPOWER on IntegriCloud