Created attachment 233939 [details] git diff for lang/python39 ``` lang/python39: Fix build with LibreSSL 3.5 * from OpenBSD ports http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/lang/python/3.9/patches/patch-Modules__hashopenssl_c?rev=1.4&content-type=text/plain PR: ? ```
Thanks for the report Bernard. Are other lang/python* ports affected?
This probably also applies to 3.8 and 3.7 since iirc/assuming the ssl module code is more or less the same between them. 3.10 and later need a different fix to (continue) support LibreSSL (which I'm still dogfooding)
(In reply to Charlie Li from comment #2)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c2fddeb7f59dbb8a861e425784a4a02fc11e40b commit 4c2fddeb7f59dbb8a861e425784a4a02fc11e40b Author: Bernard Spil <brnrd@freebsd.org> AuthorDate: 2022-07-11 13:51:30 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-11 13:51:30 +0000 lang/python37: Fix build with LibreSSL 3.5.* PR: 264000 lang/python37/files/patch-libressl (new) | 13 +++++++++++++ 1 file changed, 13 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=45b8965983b9eb9ef808fe36a3346e2881bb16a0 commit 45b8965983b9eb9ef808fe36a3346e2881bb16a0 Author: Bernard Spil <brnrd@freebsd.org> AuthorDate: 2022-07-11 13:51:31 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-11 13:51:31 +0000 lang/python38: Fix build with LibreSSL 3.5.* PR: 264000 lang/python38/files/patch-libressl (new) | 13 +++++++++++++ 1 file changed, 13 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=19051b3d996c9ec8dc2d43d925bb54b9a2116a21 commit 19051b3d996c9ec8dc2d43d925bb54b9a2116a21 Author: Bernard Spil <brnrd@freebsd.org> AuthorDate: 2022-07-11 13:51:31 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-07-11 13:51:31 +0000 lang/python39: Fix build with LibreSSL 3.5.* PR: 264000 lang/python39/files/patch-libressl (new) | 13 +++++++++++++ 1 file changed, 13 insertions(+)
Committed. Thanks!