Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (1a04cdc3b1ae55ddf6c7b63b91e6c5df54820bab)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (1a04cdc3b1ae55ddf6c7b63b91e6c5df54820bab)
  • Date: Wed, 15 Oct 2025 02:49:18 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

devel/python3/BUILD | 4 +
devel/python3/HISTORY | 3 +
devel/python3/patches-3.14/0001-Fix-build-against-LibreSSL.patch | 23
++++++++++
3 files changed, 29 insertions(+), 1 deletion(-)

New commits:
commit 1a04cdc3b1ae55ddf6c7b63b91e6c5df54820bab
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

devel/python3: disabled optimizations and added LibreSSL patch for 3.14

diff --git a/devel/python3/BUILD b/devel/python3/BUILD
index 15368bb..f172541 100755
--- a/devel/python3/BUILD
+++ b/devel/python3/BUILD
@@ -1,8 +1,10 @@
OPTS="--enable-shared $PYTHON3_OPTS $OPTS" &&
OPTS="--with-ensurepip=no $OPTS" &&

-# Optimizations buildcfails for 3.13
+# Optimizations build fails for 3.13 and 3.14
if [[ "${PYTHON3_BRANCH}" != "devel" &&
+ "${PYTHON3_BRANCH}" != "3.14" &&
+ "${PYTHON3_BRANCH}" != "stable" &&
"${PYTHON3_BRANCH}" != "3.13" ]]; then
OPTS+=" --enable-optimizations"
fi &&
diff --git a/devel/python3/HISTORY b/devel/python3/HISTORY
index ce4ff5f..6cbc3ec 100644
--- a/devel/python3/HISTORY
+++ b/devel/python3/HISTORY
@@ -1,5 +1,8 @@
2025-10-14 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 3.13.9
+ * BUILD: optimizations should be off for 3.14 too
+ * patches-3.14/0001-Fix-build-against-LibreSSL.patch: added from
+
https://github.com/libressl/portable/issues/1202#issuecomment-3392709048

2025-10-07 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS, PREPARE, patches-3.14/*: versions 3.14.0/3.13.8
diff --git a/devel/python3/patches-3.14/0001-Fix-build-against-LibreSSL.patch
b/devel/python3/patches-3.14/0001-Fix-build-against-LibreSSL.patch
new file mode 100644
index 0000000..3ff3bd2
--- /dev/null
+++ b/devel/python3/patches-3.14/0001-Fix-build-against-LibreSSL.patch
@@ -0,0 +1,23 @@
+--- a/Modules/_ssl.c
++++ b/Modules/_ssl.c
+@@ -907,7 +907,7 @@ newPySSLSocket(PySSLContext *sslctx, PySocketSockObject
*sock,
+ }
+
+ /* bpo43522 and OpenSSL < 1.1.1l: copy hostflags manually */
+-#if OPENSSL_VERSION < 0x101010cf
++#if OPENSSL_VERSION_NUMBER < 0x101010cf
+ X509_VERIFY_PARAM *ssl_verification_params = SSL_get0_param(self->ssl);
+ X509_VERIFY_PARAM *ssl_ctx_verification_params =
SSL_CTX_get0_param(ctx);
+
+@@ -3859,7 +3859,11 @@ _ssl__SSLContext__host_flags_get_impl(PySSLContext
*self)
+ unsigned int host_flags;
+
+ ssl_verification_params = SSL_CTX_get0_param(self->ctx);
++#ifdef LIBRESSL_VERSION_NUMBER
++ host_flags = 0;
++#else
+ host_flags = X509_VERIFY_PARAM_get_hostflags(ssl_verification_params);
++#endif
+ return PyLong_FromUnsignedLong(host_flags);
+ }
+


  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (1a04cdc3b1ae55ddf6c7b63b91e6c5df54820bab), Pavel Vinogradov, 10/14/2025

Archive powered by MHonArc 2.6.24.

Top of Page