diff options
author | Ørjan Malde <red@foxi.me> | 2022-08-24 22:10:28 +0200 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2022-08-24 22:10:28 +0200 |
commit | 733300684d314c4df351fa42e1a0d2f7bbdd96d4 (patch) | |
tree | cc6e661f43cbdc3bcfd1d5fc90422a1caaf02231 | |
parent | cf19aae744ab526ede769274c3bef04a47c42753 (diff) | |
download | midipix_build-733300684d314c4df351fa42e1a0d2f7bbdd96d4.tar.bz2 midipix_build-733300684d314c4df351fa42e1a0d2f7bbdd96d4.tar.xz |
patches/python3-3.7.10.local.patch: libressl support
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r-- | patches/python3-3.7.10.local.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/python3-3.7.10.local.patch b/patches/python3-3.7.10.local.patch new file mode 100644 index 00000000..5a098300 --- /dev/null +++ b/patches/python3-3.7.10.local.patch @@ -0,0 +1,12 @@ +diff -ru Python-3.7.10.orig/Modules/_hashopenssl.c Python-3.7.10/Modules/_hashopenssl.c +--- Python-3.7.10.orig/Modules/_hashopenssl.c 2021-02-16 02:29:22.000000000 +0100 ++++ Python-3.7.10/Modules/_hashopenssl.c 2022-02-24 22:45:05.056189097 +0100 +@@ -42,7 +42,7 @@ + #define HASH_OBJ_CONSTRUCTOR 0 + #endif + +-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x10100000L) + /* OpenSSL < 1.1.0 */ + #define EVP_MD_CTX_new EVP_MD_CTX_create + #define EVP_MD_CTX_free EVP_MD_CTX_destroy |