From 29e572cd279fd2dbfec8aaaded8b69c81f7dd9a1 Mon Sep 17 00:00:00 2001 From: Osyotr Date: Sat, 14 Mar 2026 13:40:00 +0300 Subject: [PATCH] [fontconfig] Fix fontconfig paths in debug builds (#50447) --- ports/fontconfig/portfile.cmake | 2 +- ports/fontconfig/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/f-/fontconfig.json | 5 +++++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ports/fontconfig/portfile.cmake b/ports/fontconfig/portfile.cmake index db95d31c97..8e872231ad 100644 --- a/ports/fontconfig/portfile.cmake +++ b/ports/fontconfig/portfile.cmake @@ -53,7 +53,7 @@ set(configfile "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/meson-config.h") vcpkg_replace_string("${configfile}" "${CURRENT_PACKAGES_DIR}" "${replacement}") if(NOT VCPKG_BUILD_TYPE) set(configfile "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/meson-config.h") - vcpkg_replace_string("${configfile}" "${CURRENT_PACKAGES_DIR}" "${replacement}") + vcpkg_replace_string("${configfile}" "${CURRENT_PACKAGES_DIR}/debug" "${replacement}") endif() vcpkg_install_meson(ADD_BIN_TO_PATH) diff --git a/ports/fontconfig/vcpkg.json b/ports/fontconfig/vcpkg.json index 6a108918a2..080bf282ee 100644 --- a/ports/fontconfig/vcpkg.json +++ b/ports/fontconfig/vcpkg.json @@ -1,7 +1,7 @@ { "name": "fontconfig", "version": "2.17.1", - "port-version": 1, + "port-version": 2, "description": "Library for configuring and customizing font access.", "homepage": "https://www.freedesktop.org/wiki/Software/fontconfig", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index b8ef2a6512..2e22f0ec20 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3126,7 +3126,7 @@ }, "fontconfig": { "baseline": "2.17.1", - "port-version": 1 + "port-version": 2 }, "foonathan-lexy": { "baseline": "2025.5.0", diff --git a/versions/f-/fontconfig.json b/versions/f-/fontconfig.json index 9f2a372d02..28de937eae 100644 --- a/versions/f-/fontconfig.json +++ b/versions/f-/fontconfig.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "3fa0bd9f5d65076541c4eb936b17926a9bc741a3", + "version": "2.17.1", + "port-version": 2 + }, { "git-tree": "91f5aca0263a76ef0580e8250dcb01c0132f499e", "version": "2.17.1",