From 2f2ef80e7e037900d8d4afa3dc7bf01734cef229 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 12 May 2025 17:02:57 +0800 Subject: [PATCH] fmt: upgrade 11.1.4 -> 11.2.0 Changelog: ============ - Added the 's' specifier for 'std::error_code'. It allows formatting an error message as a string. - Fixed formatting of 'std::chrono::local_time' and 'tm' - Added diagnostics for cases when timezone information is not available. - Deprecated 'fmt::localtime' in favor of 'std::localtime'. - Fixed compilation with GCC 15 and C++20 modules enabled - Fixed handling of named arguments in format specs - Added error reporting for duplicate named arguments - Fixed formatting of 'long' with 'FMT_BUILTIN_TYPES=0' - Optimized 'text_style' using bit packing - Added support for incomplete types - Fixed a flush issue in 'fmt::print' when using libstdc++ - Fixed 'fmt::println' usage with 'FMT_ENFORCE_COMPILE_STRING' and legacy - Removed legacy header 'fmt/core.h' from docs - Worked around limitations of '__builtin_strlen' during constant evaluation - Worked around a bug in MSVC v141 - Removed the 'fmt_detail' namespace - Removed specializations of 'std::is_floating_point' in tests - Fixed a CMake error when setting 'CMAKE_MODULE_PATH' in the pedantic mode - Updated the Bazel config Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-devtools/fmt/{fmt_11.1.4.bb => fmt_11.2.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/fmt/{fmt_11.1.4.bb => fmt_11.2.0.bb} (89%) diff --git a/meta/recipes-devtools/fmt/fmt_11.1.4.bb b/meta/recipes-devtools/fmt/fmt_11.2.0.bb similarity index 89% rename from meta/recipes-devtools/fmt/fmt_11.1.4.bb rename to meta/recipes-devtools/fmt/fmt_11.2.0.bb index 1bcf758fd9..b2b8c575c8 100644 --- a/meta/recipes-devtools/fmt/fmt_11.1.4.bb +++ b/meta/recipes-devtools/fmt/fmt_11.2.0.bb @@ -4,9 +4,9 @@ HOMEPAGE = "https://fmt.dev" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b9257785fc4f3803a4b71b76c1412729" -SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https \ +SRC_URI = "git://github.com/fmtlib/fmt;branch=master;protocol=https;tag=${PV}\ file://0001-Workaround-an-ABI-issue-in-spdlog.patch" -SRCREV = "123913715afeb8a437e6388b4473fcc4753e1c9a" +SRCREV = "40626af88bd7df9a5fb80be7b25ac85b122d6c21" S = "${WORKDIR}/git" -- 2.47.2