From a6455b755d6d7a7c3a6769c6de16846b9a18eba4 Mon Sep 17 00:00:00 2001 From: toge Date: Sat, 13 Sep 2025 08:05:59 +0900 Subject: [PATCH] [kaitai-struct-cpp-stl-runtime] update to 0.11 (#47288) --- .../kaitai-struct-cpp-stl-runtime/portfile.cmake | 4 +++- .../remove-werror.patch | 16 ++++++++++++++++ ports/kaitai-struct-cpp-stl-runtime/vcpkg.json | 3 +-- versions/baseline.json | 4 ++-- versions/k-/kaitai-struct-cpp-stl-runtime.json | 5 +++++ 5 files changed, 27 insertions(+), 5 deletions(-) create mode 100644 ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch diff --git a/ports/kaitai-struct-cpp-stl-runtime/portfile.cmake b/ports/kaitai-struct-cpp-stl-runtime/portfile.cmake index 4c54b31769..930b6fa157 100644 --- a/ports/kaitai-struct-cpp-stl-runtime/portfile.cmake +++ b/ports/kaitai-struct-cpp-stl-runtime/portfile.cmake @@ -2,8 +2,10 @@ vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO kaitai-io/kaitai_struct_cpp_stl_runtime REF ${VERSION} - SHA512 53b26627e281a12b6c1d217e8b439aba7dabf6fc55d3edc27e70f7757851f060f4039db3a16c48c5c60a715671b855b51e527f154df7d94547943f865c9d4b9a + SHA512 fd537c5d45d4c53de54c31b9286ff1100f74d62458fa2bbfd0d10d9cfedeb638e20c8d89a683b934310244de1de1093dbf79a06ac56a4918032ee31f0b49cbd7 HEAD_REF master + PATCHES + remove-werror.patch ) set(STRING_ENCODING_TYPE "NONE") diff --git a/ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch b/ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch new file mode 100644 index 0000000000..f35a2c510c --- /dev/null +++ b/ports/kaitai-struct-cpp-stl-runtime/remove-werror.patch @@ -0,0 +1,16 @@ +diff --git a/Common.cmake b/Common.cmake +index 31d8116..f46cbc3 100644 +--- a/Common.cmake ++++ b/Common.cmake +@@ -12,9 +12,9 @@ endif() + # + # This method was taken from https://www.pragmaticlinux.com/2022/07/enable-compiler-warnings-with-cmake/ + target_compile_options(${PROJECT_NAME} PRIVATE +- $<$:/W4 /WX> ++ $<$:/W4> + $<$>: +- -Wall -Wextra -Wpedantic -Werror ++ -Wall -Wextra -Wpedantic + + # We're using the `long long` type intentionally. Although it's not part of C++98, in + # practice it is usually supported even by ancient compilers with very limited C++11 diff --git a/ports/kaitai-struct-cpp-stl-runtime/vcpkg.json b/ports/kaitai-struct-cpp-stl-runtime/vcpkg.json index 07264154c5..8d8a0b6c15 100644 --- a/ports/kaitai-struct-cpp-stl-runtime/vcpkg.json +++ b/ports/kaitai-struct-cpp-stl-runtime/vcpkg.json @@ -1,7 +1,6 @@ { "name": "kaitai-struct-cpp-stl-runtime", - "version": "0.10.1", - "port-version": 1, + "version": "0.11", "description": "Kaitai Struct is a declarative language used for describe various binary data structures, laid out in files or in memory. This library implements Kaitai Struct API for C++ using STL", "homepage": "http://kaitai.io/", "documentation": "https://doc.kaitai.io/lang_cpp_stl.html", diff --git a/versions/baseline.json b/versions/baseline.json index b529135f83..9586cee590 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4121,8 +4121,8 @@ "port-version": 7 }, "kaitai-struct-cpp-stl-runtime": { - "baseline": "0.10.1", - "port-version": 1 + "baseline": "0.11", + "port-version": 0 }, "kangaru": { "baseline": "4.3.2", diff --git a/versions/k-/kaitai-struct-cpp-stl-runtime.json b/versions/k-/kaitai-struct-cpp-stl-runtime.json index 96824966b1..0e0d2ac505 100644 --- a/versions/k-/kaitai-struct-cpp-stl-runtime.json +++ b/versions/k-/kaitai-struct-cpp-stl-runtime.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "c24e4f3de328fd608e8e828c063d66eeac2eb13b", + "version": "0.11", + "port-version": 0 + }, { "git-tree": "6955b0e08a1013a8e3fc43984ddd4a9455bec5ed", "version": "0.10.1",