mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-04 03:09:07 +08:00
fix invalid command (#23335)
This commit is contained in:
parent
f9f18a0d03
commit
4534601219
11
ports/fmt/fix-invalid-command.patch
Normal file
11
ports/fmt/fix-invalid-command.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff --git a/include/fmt/locale.h b/include/fmt/locale.h
|
||||
index 7571b52..0a34eb4 100644
|
||||
--- a/include/fmt/locale.h
|
||||
+++ b/include/fmt/locale.h
|
||||
@@ -1,2 +1,6 @@
|
||||
#include "xchar.h"
|
||||
+#ifdef _WIN32
|
||||
+#pragma message ("fmt/locale.h is deprecated, include fmt/format.h or fmt/xchar.h instead")
|
||||
+#else
|
||||
#warning fmt/locale.h is deprecated, include fmt/format.h or fmt/xchar.h instead
|
||||
+#endif
|
@ -6,6 +6,7 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-write-batch.patch
|
||||
fix-invalid-command.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "fmt",
|
||||
"version": "8.1.1",
|
||||
"port-version": 1,
|
||||
"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",
|
||||
"dependencies": [
|
||||
|
@ -2230,7 +2230,7 @@
|
||||
},
|
||||
"fmt": {
|
||||
"baseline": "8.1.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"folly": {
|
||||
"baseline": "2022.01.31.00",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "602d9743b7957c9e82a06d0e81d58637c6df5222",
|
||||
"version": "8.1.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "9748716da169977423d02b3c3f0de7b7f274e34e",
|
||||
"version": "8.1.1",
|
||||
|
Loading…
Reference in New Issue
Block a user