summaryrefslogtreecommitdiff
path: root/pkg/python/patch/0001-Fix-build-with-libressl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/python/patch/0001-Fix-build-with-libressl.patch')
-rw-r--r--pkg/python/patch/0001-Fix-build-with-libressl.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/pkg/python/patch/0001-Fix-build-with-libressl.patch b/pkg/python/patch/0001-Fix-build-with-libressl.patch
deleted file mode 100644
index 2a7a5803..00000000
--- a/pkg/python/patch/0001-Fix-build-with-libressl.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From c10df94443a1193da36af080993d64942b272be4 Mon Sep 17 00:00:00 2001
-From: Michael Forney <mforney@mforney.org>
-Date: Tue, 6 Oct 2020 00:58:09 -0700
-Subject: [PATCH] Fix build with libressl
-
----
- Modules/_hashopenssl.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
-index adc8653773..c40a3ff705 100644
---- a/Modules/_hashopenssl.c
-+++ b/Modules/_hashopenssl.c
-@@ -32,7 +32,7 @@
- # error "OPENSSL_THREADS is not defined, Python requires thread-safe OpenSSL"
- #endif
-
--#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
-+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
- /* OpenSSL < 1.1.0 */
- #define EVP_MD_CTX_new EVP_MD_CTX_create
- #define EVP_MD_CTX_free EVP_MD_CTX_destroy
---
-2.28.0
-