From a62ce77d56ee07513b4b67de1ec2daeaebfae51a Mon Sep 17 00:00:00 2001 From: CQ_Undefine <60255716+cqundefine@users.noreply.github.com> Date: Thu, 2 Oct 2025 23:30:39 +0200 Subject: [PATCH] [python3] Fix compilation on *BSD (#47590) --- ports/python3/portfile.cmake | 2 +- ports/python3/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/p-/python3.json | 5 +++++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ports/python3/portfile.cmake b/ports/python3/portfile.cmake index 4ab6c55ff8..b34fda3046 100644 --- a/ports/python3/portfile.cmake +++ b/ports/python3/portfile.cmake @@ -249,7 +249,7 @@ else() "--with-system-expat" "--disable-test-modules" ) - if(VCPKG_TARGET_IS_OSX) + if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_BSD) list(APPEND OPTIONS "LIBS=-liconv -lintl") endif() diff --git a/ports/python3/vcpkg.json b/ports/python3/vcpkg.json index 3b4ab0d4a2..9e0d549999 100644 --- a/ports/python3/vcpkg.json +++ b/ports/python3/vcpkg.json @@ -1,7 +1,7 @@ { "name": "python3", "version": "3.12.9", - "port-version": 6, + "port-version": 7, "description": "The Python programming language", "homepage": "https://github.com/python/cpython", "license": "Python-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index 49fba71475..af923fd94f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7746,7 +7746,7 @@ }, "python3": { "baseline": "3.12.9", - "port-version": 6 + "port-version": 7 }, "qca": { "baseline": "2.3.7", diff --git a/versions/p-/python3.json b/versions/p-/python3.json index e4278d0b06..8ac1750823 100644 --- a/versions/p-/python3.json +++ b/versions/p-/python3.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "278873ae3425fd9c3d79e37b2b918790704c491e", + "version": "3.12.9", + "port-version": 7 + }, { "git-tree": "0c81a61c5a803bb10ff08fef12c9ab29e3e1c0fa", "version": "3.12.9",