mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:19:01 +08:00
[icu] Fix mingw (#39742)
This commit is contained in:
parent
c439d7896b
commit
f3e209dba7
12
ports/icu/mingw-strict-ansi.diff
Normal file
12
ports/icu/mingw-strict-ansi.diff
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/source/common/putil.cpp b/source/common/putil.cpp
|
||||
index ab25f3b..94782f8 100644
|
||||
--- a/source/common/putil.cpp
|
||||
+++ b/source/common/putil.cpp
|
||||
@@ -48,7 +48,6 @@
|
||||
|
||||
#if U_PLATFORM == U_PF_MINGW && defined __STRICT_ANSI__
|
||||
/* tzset isn't defined in strict ANSI on MinGW. */
|
||||
-#undef __STRICT_ANSI__
|
||||
#endif
|
||||
|
||||
/*
|
@ -36,6 +36,7 @@ vcpkg_extract_source_archive(SOURCE_PATH
|
||||
fix-win-build.patch
|
||||
vcpkg-cross-data.patch
|
||||
darwin-rpath.patch
|
||||
mingw-strict-ansi.diff # backport of https://github.com/unicode-org/icu/pull/3003
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON3)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "icu",
|
||||
"version": "74.2",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "Mature and widely used Unicode and localization library.",
|
||||
"homepage": "https://icu.unicode.org/home",
|
||||
"license": "ICU",
|
||||
|
@ -3502,7 +3502,7 @@
|
||||
},
|
||||
"icu": {
|
||||
"baseline": "74.2",
|
||||
"port-version": 3
|
||||
"port-version": 4
|
||||
},
|
||||
"ideviceinstaller": {
|
||||
"baseline": "2023-07-21",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "291bbc492b8f73dea0dbd12051e9b12b21aef900",
|
||||
"version": "74.2",
|
||||
"port-version": 4
|
||||
},
|
||||
{
|
||||
"git-tree": "fd268f9bb3ccbccf9bcd7eac2c2ff407625477dd",
|
||||
"version": "74.2",
|
||||
|
Loading…
Reference in New Issue
Block a user