pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/python39
Module Name: pkgsrc
Committed By: sjmulder
Date: Fri Apr 22 14:25:35 UTC 2022
Modified Files:
pkgsrc/lang/python39: distinfo
Added Files:
pkgsrc/lang/python39/patches: patch-Modules___hashopenssl.c
Log Message:
lang/python39: Fix build on OpenBSD
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/lang/python39/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/lang/python39/patches/patch-Modules___hashopenssl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/python39/distinfo
diff -u pkgsrc/lang/python39/distinfo:1.27 pkgsrc/lang/python39/distinfo:1.28
--- pkgsrc/lang/python39/distinfo:1.27 Sun Apr 3 10:51:19 2022
+++ pkgsrc/lang/python39/distinfo Fri Apr 22 14:25:34 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2022/04/03 10:51:19 riastradh Exp $
+$NetBSD: distinfo,v 1.28 2022/04/22 14:25:34 sjmulder Exp $
BLAKE2s (Python-3.9.12.tar.xz) = 501eaf0162b3030762c2a7e20ed83294a91afbf8b491fb560c2d5517ee9ec5a8
SHA512 (Python-3.9.12.tar.xz) = 081981901e14149748fd35228db0b3b1d96fef227ae7404f07b8bad0fda4b02649bf31c348c94aefdaf3327565d78f9489437c2c02f647b15d41376a27a23e97
@@ -9,6 +9,7 @@ SHA1 (patch-Lib_distutils_unixccompiler.
SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 5d6dab14197f27363394ff1aeee22a8ced8026d2
SHA1 (patch-Lib_sysconfig.py) = a4f009ed73ebbd9d9c4bf7e12b7981182ed8fd7c
SHA1 (patch-Makefile.pre.in) = dd5ff571ac9fe2dc2e41fa678261d8e3648ac908
+SHA1 (patch-Modules___hashopenssl.c) = d7157254630259b2073e67a921edf0dfe151e32a
SHA1 (patch-Modules___ssl.c) = f241ba148e4c244a641386be5ac07817b03f04f7
SHA1 (patch-Modules_makesetup) = a06786eebffadecedba5e3a50a9785fb47613567
SHA1 (patch-Modules_nismodule.c) = 1bafe9b06359586d027a77011b103877590d947d
Added files:
Index: pkgsrc/lang/python39/patches/patch-Modules___hashopenssl.c
diff -u /dev/null pkgsrc/lang/python39/patches/patch-Modules___hashopenssl.c:1.1
--- /dev/null Fri Apr 22 14:25:35 2022
+++ pkgsrc/lang/python39/patches/patch-Modules___hashopenssl.c Fri Apr 22 14:25:35 2022
@@ -0,0 +1,16 @@
+$NetBSD: patch-Modules___hashopenssl.c,v 1.1 2022/04/22 14:25:35 sjmulder Exp $
+
+Fix version check for OpenBSD. Adapted from OpenBSD port.
+
+--- Modules/_hashopenssl.c.orig Wed Mar 23 21:12:08 2022
++++ 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
Home |
Main Index |
Thread Index |
Old Index