diff --git a/ports/flatbuffers/fix-runtime-flags-msvc.patch b/ports/flatbuffers/fix-runtime-flags-msvc.patch new file mode 100644 index 0000000000..b9d30674bc --- /dev/null +++ b/ports/flatbuffers/fix-runtime-flags-msvc.patch @@ -0,0 +1,19 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index f7f388f..4ab8149 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -456,12 +456,14 @@ if(FLATBUFFERS_BUILD_FLATC) + endif() + + target_link_libraries(flatc PRIVATE $) ++ if(FALSE) # DONT mess with runtime flags + target_compile_options(flatc + PRIVATE + $<$,$>: + /MT + > + ) ++ endif() + + if(FLATBUFFERS_CODE_SANITIZE AND NOT WIN32) + add_fsanitize_to_target(flatc ${FLATBUFFERS_CODE_SANITIZE}) diff --git a/ports/flatbuffers/portfile.cmake b/ports/flatbuffers/portfile.cmake index 0780b0fef2..3bf1acf84c 100644 --- a/ports/flatbuffers/portfile.cmake +++ b/ports/flatbuffers/portfile.cmake @@ -8,6 +8,7 @@ vcpkg_from_github( HEAD_REF master PATCHES fix-uwp-build.patch + fix-runtime-flags-msvc.patch ) set(options "") diff --git a/ports/flatbuffers/vcpkg.json b/ports/flatbuffers/vcpkg.json index b2c9f03450..b72e9ff018 100644 --- a/ports/flatbuffers/vcpkg.json +++ b/ports/flatbuffers/vcpkg.json @@ -1,6 +1,7 @@ { "name": "flatbuffers", "version": "25.9.23", + "port-version": 1, "description": "FlatBuffers is a cross platform serialization library architected for maximum memory efficiency. It allows you to directly access serialized data without parsing/unpacking it first, while still having great forwards/backwards compatibility.", "homepage": "https://google.github.io/flatbuffers/", "license": "Apache-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index 4c4a2ea2e5..6c14c0e719 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2970,7 +2970,7 @@ }, "flatbuffers": { "baseline": "25.9.23", - "port-version": 0 + "port-version": 1 }, "flatbush": { "baseline": "1.3.0", diff --git a/versions/f-/flatbuffers.json b/versions/f-/flatbuffers.json index a3f4ce0666..de48a3e748 100644 --- a/versions/f-/flatbuffers.json +++ b/versions/f-/flatbuffers.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "cf3ccaa4a8abd4a9dcc02a2006d3387e13e3a94c", + "version": "25.9.23", + "port-version": 1 + }, { "git-tree": "34977bf5c6ebc9b593376b223f82a21e1c945d42", "version": "25.9.23",