[spdlog] Fix compatibility with fmt 12.2.0 (#52648)

This commit is contained in:
Weihang Ding 2026-07-01 09:21:32 +08:00 committed by GitHub
parent b5e593a265
commit 3cd7d350d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 21 additions and 1 deletions

View File

@ -1,9 +1,23 @@
vcpkg_download_distfile(SPDLOG_BACKPORT_3541_PATCH
URLS https://github.com/gabime/spdlog/commit/1685e694c5cd8328280c48f8b94b1281c17c6fee.patch?full_index=1
FILENAME spdlog-backport-3541.patch
SHA512 9b5340c93b9a869ae7479395e23672288fc3b4347fc1e9a4535b580a6ade1dadd985e939fb5fbb820d262f0c2153599a88dd572443b62dab3498da8b327ee034
)
vcpkg_download_distfile(SPDLOG_BACKPORT_3543_PATCH
URLS https://github.com/gabime/spdlog/commit/d5af52d903ed69f96c7350155e94aeff248b31eb.patch?full_index=1
FILENAME spdlog-backport-3543.patch
SHA512 ada7e63920a48fa1641bf4929b6172c4e8570e2610534caf9fd1a769d00d304b7c5907987420f85989295a939aa1e75cf18c54bbf3ccc6ccad594a24aba2e8b9
)
vcpkg_from_github( vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO gabime/spdlog REPO gabime/spdlog
REF "v${VERSION}" REF "v${VERSION}"
SHA512 8df117055d19ff21c9c9951881c7bdf27cc0866ea3a4aa0614b2c3939cedceab94ac9abaa63dc4312b51562b27d708cb2f014c68c603fd1c1051d3ed5c1c3087 SHA512 8df117055d19ff21c9c9951881c7bdf27cc0866ea3a4aa0614b2c3939cedceab94ac9abaa63dc4312b51562b27d708cb2f014c68c603fd1c1051d3ed5c1c3087
HEAD_REF v1.x HEAD_REF v1.x
PATCHES
"${SPDLOG_BACKPORT_3541_PATCH}"
"${SPDLOG_BACKPORT_3543_PATCH}"
) )
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS

View File

@ -1,6 +1,7 @@
{ {
"name": "spdlog", "name": "spdlog",
"version-semver": "1.17.0", "version-semver": "1.17.0",
"port-version": 1,
"description": "Very fast, header-only/compiled, C++ logging library.", "description": "Very fast, header-only/compiled, C++ logging library.",
"homepage": "https://github.com/gabime/spdlog", "homepage": "https://github.com/gabime/spdlog",
"license": "MIT", "license": "MIT",

View File

@ -9574,7 +9574,7 @@
}, },
"spdlog": { "spdlog": {
"baseline": "1.17.0", "baseline": "1.17.0",
"port-version": 0 "port-version": 1
}, },
"spectra": { "spectra": {
"baseline": "1.0.1", "baseline": "1.0.1",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "c42bb1e74ab55b299d7fe52e68d0ab7b5dee165c",
"version-semver": "1.17.0",
"port-version": 1
},
{ {
"git-tree": "7971db787034aef4204ace90e0f94fdbab808f75", "git-tree": "7971db787034aef4204ace90e0f94fdbab808f75",
"version-semver": "1.17.0", "version-semver": "1.17.0",