Skip to content

Commit

Permalink
[libdatachannel] chore(version): updated to 0.17.8 (#25522)
Browse files Browse the repository at this point in the history
* [libdatachannel] chore(version): updated to 0.17.7

* [libdatachannel] chore(version): updated to 0.17.7 version

* [libdatachannel] chore(version): updated to 0.17.7 version sha

* update version

* [libdatachannel] update version to 0.17.8

* del version

* update version

* format patch

* overwrite version

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
  • Loading branch information
crisboarna and FrankXie05 committed Jul 5, 2022
1 parent 7a7c0ec commit 578406c
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 14 deletions.
16 changes: 8 additions & 8 deletions ports/libdatachannel/0001-fix-for-vcpkg.patch
Original file line number Diff line number Diff line change
@@ -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()
Expand All @@ -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)

Expand All @@ -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)
Expand All @@ -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
$<INSTALL_INTERFACE:include>)
target_include_directories(datachannel PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/include/rtc)
target_include_directories(datachannel PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)
Expand All @@ -58,4 +59,3 @@ index 8907872..31d8836 100644

if(WIN32)
target_link_libraries(datachannel PUBLIC ws2_32) # winsock2

4 changes: 2 additions & 2 deletions ports/libdatachannel/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
4 changes: 2 additions & 2 deletions ports/libdatachannel/uwp-warnings.patch
Original file line number Diff line number Diff line change
@@ -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()

Expand Down
2 changes: 1 addition & 1 deletion ports/libdatachannel/vcpkg.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -3525,7 +3525,7 @@
"port-version": 0
},
"libdatachannel": {
"baseline": "0.17.1",
"baseline": "0.17.8",
"port-version": 0
},
"libdatrie": {
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/libdatachannel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0770e9b271c6d1eb630a403f754c2dd2ee93f1c6",
"version-semver": "0.17.8",
"port-version": 0
},
{
"git-tree": "9692159a4275af713e1525a9c81447fdd614869a",
"version-semver": "0.17.1",
Expand Down

0 comments on commit 578406c

Please sign in to comment.