From: Nabil Ghodbane Date: Tue, 26 Jan 2021 10:03:43 +0000 (+0100) Subject: fix broken Python 2.7.10 and numpy builds since recent openssl update X-Git-Tag: V9_7_0~141 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8ee6bcdd43e887131a1fdc08c5ec362d0c53a194;p=tools%2Fsat_salome.git fix broken Python 2.7.10 and numpy builds since recent openssl update --- diff --git a/products/Python.pyconf b/products/Python.pyconf index 8e18b56..4bcb1bf 100755 --- a/products/Python.pyconf +++ b/products/Python.pyconf @@ -36,10 +36,7 @@ version_2_6_6 : version_2_7_10 : { - patches : [ - #'remove-windows-python-subprojects.patch', #patch Windows non applicable sur Linux - #'enable-windows-plugin-compilation.patch', - ] + patches : ['Python-2.7.10-ssl.patch'] } version_3_6_5 : diff --git a/products/patches/Python-2.7.10-ssl.patch b/products/patches/Python-2.7.10-ssl.patch new file mode 100644 index 0000000..f660005 --- /dev/null +++ b/products/patches/Python-2.7.10-ssl.patch @@ -0,0 +1,12 @@ +--- Python/setup.py 2015-05-23 18:09:25.000000000 +0200 ++++ Python_new/setup.py 2021-01-26 10:54:30.894406545 +0100 +@@ -804,7 +804,8 @@ class PyBuildExt(build_ext): + ['/usr/local/ssl/lib', + '/usr/contrib/ssl/lib/' + ] ) +- ++ ssl_incs = None ++ ssl_libs = None + if (ssl_incs is not None and + ssl_libs is not None): + exts.append( Extension('_ssl', ['_ssl.c'],