diff --git a/ports/libdatachannel/0001-fix-for-vcpkg.patch b/ports/libdatachannel/0001-fix-for-vcpkg.patch index 944f4339c7..25eb2905f9 100644 --- a/ports/libdatachannel/0001-fix-for-vcpkg.patch +++ b/ports/libdatachannel/0001-fix-for-vcpkg.patch @@ -1,5 +1,5 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8907872..31d8836 100644 +index 28b4566..4347b6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,6 @@ endif() @@ -10,7 +10,7 @@ index 8907872..31d8836 100644 if(WIN32) add_definitions(-DWIN32_LEAN_AND_MEAN) -@@ -201,12 +200,13 @@ set(CMAKE_THREAD_PREFER_PTHREAD TRUE) +@@ -200,12 +199,14 @@ set(CMAKE_THREAD_PREFER_PTHREAD TRUE) set(THREADS_PREFER_PTHREAD_FLAG TRUE) find_package(Threads REQUIRED) @@ -22,11 +22,12 @@ index 8907872..31d8836 100644 if(SCTP_DEBUG) add_definitions(-DSCTP_DEBUG) endif() ++ +if(0) - option(sctp_build_programs 0) - option(sctp_build_shared_lib 0) - set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) -@@ -218,8 +218,9 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") + option(sctp_build_shared_lib OFF) + option(sctp_build_programs OFF) + option(sctp_inet OFF) +@@ -219,8 +220,9 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") target_compile_options(usrsctp PRIVATE -Wno-error=format-truncation) endif() add_library(Usrsctp::Usrsctp ALIAS usrsctp) @@ -37,7 +38,7 @@ index 8907872..31d8836 100644 ${LIBDATACHANNEL_SOURCES} ${LIBDATACHANNEL_HEADERS} ${LIBDATACHANNEL_IMPL_SOURCES} -@@ -243,16 +244,18 @@ target_include_directories(datachannel PUBLIC +@@ -244,16 +246,18 @@ target_include_directories(datachannel PUBLIC $) target_include_directories(datachannel PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc) target_include_directories(datachannel PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src) @@ -58,4 +59,3 @@ index 8907872..31d8836 100644 if(WIN32) target_link_libraries(datachannel PUBLIC ws2_32) # winsock2 - diff --git a/ports/libdatachannel/portfile.cmake b/ports/libdatachannel/portfile.cmake index 97eb621188..5f417f5896 100644 --- a/ports/libdatachannel/portfile.cmake +++ b/ports/libdatachannel/portfile.cmake @@ -7,8 +7,8 @@ endif() vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO paullouisageneau/libdatachannel - REF d9a9a4dcfb7445ed4f305c9aba889a162a4bad30 #v0.17.1 - SHA512 1b53f52e24ee4e01b2bd1d65c7d738e621f168b7718c1fe16e514c34e7bccc3d195c193a7363f31c6b651c7c6757260dce4b197111375800d2f6bdf0d5b06100 + REF 2b1c7382520ffe0a27b60e409250875ec757526c #v0.17.8 + SHA512 1a440763e3a7738e87a15370159283ab83a566f1a728f8e267b41b643c80c9cf47b106895c715300494072298ab3399f905ce43973d17099d268cd1f1b8f3fc3 HEAD_REF master PATCHES ${PATCHES} diff --git a/ports/libdatachannel/uwp-warnings.patch b/ports/libdatachannel/uwp-warnings.patch index 023bf888e1..560040a4e8 100644 --- a/ports/libdatachannel/uwp-warnings.patch +++ b/ports/libdatachannel/uwp-warnings.patch @@ -1,8 +1,8 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index b79b458..790bf95 100644 +index 4347b6a..e3d6d19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -385,6 +385,9 @@ if(WARNINGS_AS_ERRORS) +@@ -394,6 +394,9 @@ if(WARNINGS_AS_ERRORS) endif() endif() diff --git a/ports/libdatachannel/vcpkg.json b/ports/libdatachannel/vcpkg.json index 2cff3e4c5f..00198cb565 100644 --- a/ports/libdatachannel/vcpkg.json +++ b/ports/libdatachannel/vcpkg.json @@ -1,6 +1,6 @@ { "name": "libdatachannel", - "version-semver": "0.17.1", + "version-semver": "0.17.8", "description": "libdatachannel is a standalone implementation of WebRTC Data Channels, WebRTC Media Transport, and WebSockets in C++17 with C bindings for POSIX platforms (including GNU/Linux, Android, and Apple macOS) and Microsoft Windows.", "homepage": "https://github.com/paullouisageneau/libdatachannel", "license": "LGPL-2.1-only", diff --git a/versions/baseline.json b/versions/baseline.json index a968777707..ef52fc3cae 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3525,7 +3525,7 @@ "port-version": 0 }, "libdatachannel": { - "baseline": "0.17.1", + "baseline": "0.17.8", "port-version": 0 }, "libdatrie": { diff --git a/versions/l-/libdatachannel.json b/versions/l-/libdatachannel.json index cf467c701c..340da207d5 100644 --- a/versions/l-/libdatachannel.json +++ b/versions/l-/libdatachannel.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "0770e9b271c6d1eb630a403f754c2dd2ee93f1c6", + "version-semver": "0.17.8", + "port-version": 0 + }, { "git-tree": "9692159a4275af713e1525a9c81447fdd614869a", "version-semver": "0.17.1",