[expat] update to 2.7.4 (#49747)

This commit is contained in:
toge 2026-02-05 10:03:23 +09:00 committed by GitHub
parent 520b5b5eea
commit fb87e2bb3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 4 deletions

View File

@ -4,7 +4,7 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO libexpat/libexpat
REF "${REF}"
SHA512 34400f7dff0151a38c5ff7d73b65b57c7fdf648cf407ed94beddf2d11511b650c4ea16e417a15ebe1707456e7279210e929cc97a0caf7a1ff45bf1d07275e815
SHA512 0e157ce875ec993b4e495e0cd04979109c1f0f0dbfa707c113d9b4ed243c668fce20e5ef79ff8df2f30587cc182a0254794b2fb9bb53f938da608ace32903820
HEAD_REF master
)
@ -34,7 +34,7 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/expat_external.h" "defined(_MSC_EXTENSIONS)" "defined(_WIN32)")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/expat_external.h" "defined(_MSC_VER)" "defined(_WIN32)")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/expat_external.h" "! defined(XML_STATIC)" "0")
endif()

View File

@ -1,6 +1,6 @@
{
"name": "expat",
"version": "2.7.3",
"version": "2.7.4",
"description": "XML parser library written in C",
"homepage": "https://github.com/libexpat/libexpat",
"license": "MIT",

View File

@ -2833,7 +2833,7 @@
"port-version": 1
},
"expat": {
"baseline": "2.7.3",
"baseline": "2.7.4",
"port-version": 0
},
"expected-lite": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b28c1648f06f91a7b588eee66069d3c1b24c44a1",
"version": "2.7.4",
"port-version": 0
},
{
"git-tree": "1f334673a6e31a6887fa5377a330e436b4f1f6a7",
"version": "2.7.3",