diff --git a/ports/msquic/no-werror.patch b/ports/msquic/no-werror.patch new file mode 100644 index 0000000000..1c2cec2e0a --- /dev/null +++ b/ports/msquic/no-werror.patch @@ -0,0 +1,22 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1010458..cc7ac39 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -201,7 +201,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${QUIC_OUTPUT_DIR}) + set(QUIC_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/inc) + + if (WIN32) +- set(QUIC_WARNING_FLAGS /WX /W4 /sdl /wd4206 CACHE INTERNAL "") ++ set(QUIC_WARNING_FLAGS /W4 /sdl /wd4206 CACHE INTERNAL "") + set(QUIC_COMMON_FLAGS "") + + include(CheckCCompilerFlag) +@@ -305,7 +305,7 @@ else() + if (HAS_SYSCTL) + list(APPEND QUIC_COMMON_DEFINES HAS_SYSCTL) + endif() +- set(QUIC_WARNING_FLAGS -Werror -Wall -Wextra -Wformat=2 -Wno-type-limits ++ set(QUIC_WARNING_FLAGS -Wall -Wextra -Wformat=2 -Wno-type-limits + -Wno-unknown-pragmas -Wno-multichar -Wno-missing-field-initializers + CACHE INTERNAL "") + if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0) diff --git a/ports/msquic/portfile.cmake b/ports/msquic/portfile.cmake index f0be5326f4..ef2bc1115d 100644 --- a/ports/msquic/portfile.cmake +++ b/ports/msquic/portfile.cmake @@ -15,6 +15,7 @@ vcpkg_from_github( fix-comparing-system-processor-with-win32.patch # https://github.com/microsoft/msquic/pull/4374 uwp-link-libs.diff exports-for-msh3.diff + no-werror.patch ) set(QUIC_TLS "schannel") diff --git a/ports/msquic/vcpkg.json b/ports/msquic/vcpkg.json index 0a263d7978..bcfe7039d9 100644 --- a/ports/msquic/vcpkg.json +++ b/ports/msquic/vcpkg.json @@ -1,7 +1,7 @@ { "name": "msquic", "version": "2.4.7", - "port-version": 1, + "port-version": 2, "description": "Cross-platform, C implementation of the IETF QUIC protocol", "homepage": "https://github.com/microsoft/msquic", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index 9ed917b7c0..562cca3ad5 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6182,7 +6182,7 @@ }, "msquic": { "baseline": "2.4.7", - "port-version": 1 + "port-version": 2 }, "mstch": { "baseline": "1.0.2", diff --git a/versions/m-/msquic.json b/versions/m-/msquic.json index 156adec329..86d7e71216 100644 --- a/versions/m-/msquic.json +++ b/versions/m-/msquic.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "7b56cfbd638c6711b76cab27d5f9a71f17341d36", + "version": "2.4.7", + "port-version": 2 + }, { "git-tree": "5e727b0b7e3bf5761f161c5f7ca8f24272a3f7f2", "version": "2.4.7",