forked from macports/macports-ports
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e62dbb
commit 1cbc42b
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- CMakeLists.txt 2022-12-20 22:30:27.000000000 +0800 | ||
+++ CMakeLists.txt 2024-08-14 11:45:13.000000000 +0800 | ||
@@ -166,10 +166,10 @@ | ||
list(APPEND STRICT_OPTIONS_CPP "-Wall" "-Wuninitialized") | ||
list(APPEND STRICT_OPTIONS_C "-Wdeclaration-after-statement" "-Wstrict-prototypes" "-Wno-error=strict-prototypes") | ||
if(CMAKE_C_COMPILER_ID MATCHES "Clang") | ||
- list(APPEND STRICT_OPTIONS_CPP "-Qunused-arguments" "-Wno-array-bounds") | ||
+ list(APPEND STRICT_OPTIONS_CPP "-Wno-error=unknown-warning-option" "-Qunused-arguments" "-Wno-array-bounds") | ||
endif() | ||
if(APPLE) | ||
- list(APPEND STRICT_OPTIONS_CPP "-Wno-error=unknown-warning-option" "-Qunused-arguments" "-Wno-tautological-compare" "-Wno-unused-function" "-Wno-array-bounds") | ||
+ list(APPEND STRICT_OPTIONS_CPP "-Wno-tautological-compare" "-Wno-unused-function" "-Wno-array-bounds") | ||
endif() | ||
if(ENABLE_STRICT) | ||
list(APPEND STRICT_OPTIONS_CPP "-Werror" "-Wextra" "-Wno-unused-parameter" "-Wno-missing-field-initializers" "-fno-strict-aliasing") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- src/rtpsession_inet.c 2022-12-20 22:30:27.000000000 +0800 | ||
+++ src/rtpsession_inet.c 2024-08-14 11:59:03.000000000 +0800 | ||
@@ -25,6 +25,12 @@ | ||
|
||
#if __APPLE__ | ||
#include "TargetConditionals.h" | ||
+#ifndef _DARWIN_C_SOURCE | ||
+#define _DARWIN_C_SOURCE | ||
+#endif | ||
+#ifndef IPV6_RECVDSTADDR | ||
+#define IPV6_RECVDSTADDR 7 | ||
+#endif | ||
#endif | ||
|
||
#ifdef HAVE_CONFIG_H |