diff options
| author | Hannu Nyman <hannu.nyman@iki.fi> | 2018-09-17 17:58:58 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-17 17:58:58 +0300 |
| commit | 985dd0de7839335f23e4b34779e5ff8b710a3d25 (patch) | |
| tree | 0c62d8350c6952291e1f77d7633a2f721a0c47a9 /lang/python/python3 | |
| parent | a016fd0d826bc229c9d1be225719e3f3caa1da3e (diff) | |
| parent | 768c675123883eef596f20b3002fd1eddb5eb5e7 (diff) | |
Merge pull request #7051 from commodo/python3-fix-ssl-dh-free
python3: fix build with SSL module
Diffstat (limited to 'lang/python/python3')
| -rw-r--r-- | lang/python/python3/Makefile | 2 | ||||
| -rw-r--r-- | lang/python/python3/patches/002-fix-implicit-dh-free-declaration.patch | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 5c277242f..fcaf6b7ab 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -14,7 +14,7 @@ PYTHON_VERSION:=$(PYTHON3_VERSION) PYTHON_VERSION_MICRO:=$(PYTHON3_VERSION_MICRO) PKG_NAME:=python3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_VERSION:=$(PYTHON_VERSION).$(PYTHON_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz diff --git a/lang/python/python3/patches/002-fix-implicit-dh-free-declaration.patch b/lang/python/python3/patches/002-fix-implicit-dh-free-declaration.patch new file mode 100644 index 000000000..46cfa9b1c --- /dev/null +++ b/lang/python/python3/patches/002-fix-implicit-dh-free-declaration.patch @@ -0,0 +1,12 @@ +diff --git a/Modules/_ssl.c b/Modules/_ssl.c +index 2bce4816d2..3c93884809 100644 +--- a/Modules/_ssl.c ++++ b/Modules/_ssl.c +@@ -63,6 +63,7 @@ static PySocketModule_APIObject PySocketModule; + #include "openssl/err.h" + #include "openssl/rand.h" + #include "openssl/bio.h" ++#include "openssl/dh.h" + + #ifndef HAVE_X509_VERIFY_PARAM_SET1_HOST + # ifdef LIBRESSL_VERSION_NUMBER |
