FreeBSD Bugzilla – Attachment 233939 Details for
Bug 264000
lang/python*: Fix build with LibreSSL 3.5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
git diff for lang/python39
file_264000.txt (text/plain), 804 bytes, created by
Bernard Spil
on 2022-05-15 17:50:47 UTC
(
hide
)
Description:
git diff for lang/python39
Filename:
MIME Type:
Creator:
Bernard Spil
Created:
2022-05-15 17:50:47 UTC
Size:
804 bytes
patch
obsolete
>diff --git a/lang/python39/files/patch-Modules___hashopenssl.c b/lang/python39/files/patch-Modules___hashopenssl.c >new file mode 100644 >index 000000000000..98515b3c99dd >--- /dev/null >+++ b/lang/python39/files/patch-Modules___hashopenssl.c >@@ -0,0 +1,13 @@ >+Index: Modules/_hashopenssl.c >+--- Modules/_hashopenssl.c.orig >++++ Modules/_hashopenssl.c >+@@ -43,7 +43,8 @@ >+ # 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 264000
: 233939