Files
packages/lang/python/python3/patches/025-choose-python-config-version.patch
T
Josef Schlehofer 1d1e6361d3 python3: update to 3.11.16
Python 3.11 only gets security fixes. Update to the latest 3.11
release.

Refresh the patches. Only the hunk offsets changed, and the changed
patches get the git headers they have in master.

The bundled libexpat, which the target build uses, goes from 2.7.3 to
2.8.3. The bundled pip 24.0 and setuptools 79.0.1 are unchanged.

Fixes CVEs:
CVE-2025-6075, CVE-2025-11468, CVE-2025-12084, CVE-2025-13462,
CVE-2025-13836, CVE-2025-13837, CVE-2025-15282, CVE-2026-0672,
CVE-2026-0864, CVE-2026-0865, CVE-2026-1299, CVE-2026-1502,
CVE-2026-2297, CVE-2026-3276, CVE-2026-3644, CVE-2026-4224,
CVE-2026-4360, CVE-2026-4519, CVE-2026-4786, CVE-2026-6100,
CVE-2026-6879, CVE-2026-7210, CVE-2026-7774, CVE-2026-8328,
CVE-2026-9669, CVE-2026-11940, CVE-2026-11972, CVE-2026-12003,
CVE-2026-15308, CVE-2026-18503, CVE-2026-45186, CVE-2026-72522

Release notes:
https://docs.python.org/release/3.11.16/whatsnew/changelog.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-09-28 17:43:48 +03:00

17 lines
617 B
Diff

From 18330902a0ca1b162e1ae938d8024cfb7e7c524d Mon Sep 17 00:00:00 2001
From: Jeffery To <jeffery.to@gmail.com>
Date: Tue, 16 Feb 2021 22:23:50 +0800
Subject: [PATCH] Choose python-config version
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -2194,7 +2194,7 @@ python-config: $(srcdir)/Misc/python-con
@ # On Darwin, always use the python version of the script, the shell
@ # version doesn't use the compiler customizations that are provided
@ # in python (_osx_support.py).
- @if test `uname -s` = Darwin; then \
+ @if test "$(USE_PYTHON_CONFIG_PY)" = 1; then \
cp python-config.py python-config; \
fi