Skip to content

Commit

Permalink
[live555] Pass options to fix osx (microsoft#36120)
Browse files Browse the repository at this point in the history
* [live555] Pass options to fix osx

* format

* version

* EOL

* version
  • Loading branch information
FrankXie05 authored Jan 12, 2024
1 parent 9ac6326 commit 88b8139
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ports/live555/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ if (NOT MSVC)
add_compile_options(-DSOCKLEN_T=socklen_t)
endif()

if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
add_compile_options(-DBSD=1)
add_compile_options(-DHAVE_SOCKADDR_LEN=1)
add_compile_options(-DTIME_BASE=int)
add_compile_options(-DNEED_XLOCALE_H=1)
endif()

file(GLOB BASIC_USAGE_ENVIRONMENT_SRCS BasicUsageEnvironment/*.c BasicUsageEnvironment/*.cpp)
add_library(BasicUsageEnvironment ${BASIC_USAGE_ENVIRONMENT_SRCS})

Expand Down
1 change: 1 addition & 0 deletions ports/live555/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "live555",
"version-date": "2023-11-30",
"port-version": 1,
"description": "A complete RTSP server application",
"homepage": "http://www.live555.com/liveMedia",
"license": "GPL-3.0-or-later",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -5238,7 +5238,7 @@
},
"live555": {
"baseline": "2023-11-30",
"port-version": 0
"port-version": 1
},
"llfio": {
"baseline": "2023-11-06",
Expand Down
5 changes: 5 additions & 0 deletions versions/l-/live555.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2402cdcc3405afe25f02e4a6d3c44ec1b1c68aaf",
"version-date": "2023-11-30",
"port-version": 1
},
{
"git-tree": "80eb597529bc497ceb274509b6224bf0524930c1",
"version-date": "2023-11-30",
Expand Down

0 comments on commit 88b8139

Please sign in to comment.