mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 08:23:07 +08:00
[fmt] Update to 10.2.0 (#35971)
This commit is contained in:
parent
c5c8f07fc5
commit
a344996f1d
@ -1,15 +0,0 @@
|
|||||||
diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h
|
|
||||||
index f44df01c..59cc4559 100644
|
|
||||||
--- a/include/fmt/format-inl.h
|
|
||||||
+++ b/include/fmt/format-inl.h
|
|
||||||
@@ -62,8 +62,8 @@ FMT_FUNC void format_error_code(detail::buffer<char>& out, int error_code,
|
|
||||||
error_code_size += detail::to_unsigned(detail::count_digits(abs_value));
|
|
||||||
auto it = buffer_appender<char>(out);
|
|
||||||
if (message.size() <= inline_buffer_size - error_code_size)
|
|
||||||
- format_to(it, FMT_STRING("{}{}"), message, SEP);
|
|
||||||
- format_to(it, FMT_STRING("{}{}"), ERROR_STR, error_code);
|
|
||||||
+ fmt::format_to(it, FMT_STRING("{}{}"), message, SEP);
|
|
||||||
+ fmt::format_to(it, FMT_STRING("{}{}"), ERROR_STR, error_code);
|
|
||||||
FMT_ASSERT(out.size() <= inline_buffer_size, "");
|
|
||||||
}
|
|
||||||
|
|
@ -2,11 +2,10 @@ vcpkg_from_github(
|
|||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO fmtlib/fmt
|
REPO fmtlib/fmt
|
||||||
REF "${VERSION}"
|
REF "${VERSION}"
|
||||||
SHA512 288c349baac5f96f527d5b1bed0fa5f031aa509b4526560c684281388e91909a280c3262a2474d963b5d1bf7064b1c9930c6677fe54a0d8f86982d063296a54c
|
SHA512 b90f8ab1692fcae9146f8cad5c5c26a2b5ceb6a0460003e01cabe8a75c0aa2fea1c3760dc3214eddaf08984a1695747ea8b1f3124c40c54cbadfd45458fa4b2d
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES
|
PATCHES
|
||||||
fix-write-batch.patch
|
fix-write-batch.patch
|
||||||
fix-format-conflict.patch
|
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_cmake_configure(
|
vcpkg_cmake_configure(
|
||||||
@ -35,4 +34,4 @@ file(REMOVE_RECURSE
|
|||||||
)
|
)
|
||||||
|
|
||||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.rst")
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "fmt",
|
"name": "fmt",
|
||||||
"version": "10.1.1",
|
"version": "10.2.0",
|
||||||
"description": "Formatting library for C++. It can be used as a safe alternative to printf or as a fast alternative to IOStreams.",
|
"description": "Formatting library for C++. It can be used as a safe alternative to printf or as a fast alternative to IOStreams.",
|
||||||
"homepage": "https://github.com/fmtlib/fmt",
|
"homepage": "https://github.com/fmtlib/fmt",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -2713,7 +2713,7 @@
|
|||||||
"port-version": 2
|
"port-version": 2
|
||||||
},
|
},
|
||||||
"fmt": {
|
"fmt": {
|
||||||
"baseline": "10.1.1",
|
"baseline": "10.2.0",
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"folly": {
|
"folly": {
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "f91bb86075f45f6fad0c35ab9e87d8ea43c9d389",
|
||||||
|
"version": "10.2.0",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "dfe9aa860f5a8317f341a21d317be1cf44e89f18",
|
"git-tree": "dfe9aa860f5a8317f341a21d317be1cf44e89f18",
|
||||||
"version": "10.1.1",
|
"version": "10.1.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user