summaryrefslogtreecommitdiff
path: root/net/uvgrtp/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/uvgrtp/files')
-rw-r--r--net/uvgrtp/files/patch-CMakeLists.txt20
-rw-r--r--net/uvgrtp/files/patch-src_reception__flow.hh10
-rw-r--r--net/uvgrtp/files/patch-src_socket.hh12
-rw-r--r--net/uvgrtp/files/patch-src_srtp_base.hh12
4 files changed, 54 insertions, 0 deletions
diff --git a/net/uvgrtp/files/patch-CMakeLists.txt b/net/uvgrtp/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..8de1f8941968
--- /dev/null
+++ b/net/uvgrtp/files/patch-CMakeLists.txt
@@ -0,0 +1,20 @@
+--- CMakeLists.txt.orig 2025-03-20 09:59:25 UTC
++++ CMakeLists.txt
+@@ -49,7 +49,7 @@ include(cmake/FindDependencies.cmake)
+ include(cmake/Versioning.cmake)
+
+
+-add_library(${PROJECT_NAME})
++add_library(${PROJECT_NAME} SHARED)
+ set_target_properties(${PROJECT_NAME} PROPERTIES
+ SOVERSION "${PROJECT_VERSION_MAJOR}"
+ VERSION "${LIBRARY_VERSION}"
+@@ -239,7 +239,7 @@ if (UNIX)
+ list(APPEND UVGRTP_LINKER_FLAGS "-lpthread")
+ endif()
+ # Check PKG_CONFIG_PATH, if not defined, use lib/pkgconfig
+- if(NOT DEFINED ENV{PKG_CONFIG_PATH})
++ if(NOT DEFINED PKG_CONFIG_PATH)
+ set(PKG_CONFIG_PATH "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
+ message("PKG_CONFIG_PATH is not set. Setting it to ${PKG_CONFIG_PATH}")
+ endif(NOT DEFINED ENV{PKG_CONFIG_PATH})
diff --git a/net/uvgrtp/files/patch-src_reception__flow.hh b/net/uvgrtp/files/patch-src_reception__flow.hh
new file mode 100644
index 000000000000..c10f3a4dc898
--- /dev/null
+++ b/net/uvgrtp/files/patch-src_reception__flow.hh
@@ -0,0 +1,10 @@
+--- src/reception_flow.hh.orig 2025-03-20 09:59:25 UTC
++++ src/reception_flow.hh
+@@ -16,6 +16,7 @@
+ #ifdef _WIN32
+ #include <ws2ipdef.h>
+ #else
++#include <arpa/inet.h>
+ #include <netinet/ip.h>
+ #include <sys/socket.h>
+ #endif
diff --git a/net/uvgrtp/files/patch-src_socket.hh b/net/uvgrtp/files/patch-src_socket.hh
new file mode 100644
index 000000000000..15f8603f5390
--- /dev/null
+++ b/net/uvgrtp/files/patch-src_socket.hh
@@ -0,0 +1,12 @@
+--- src/socket.hh.orig 2025-03-20 09:59:25 UTC
++++ src/socket.hh
+@@ -10,8 +10,8 @@
+ #include <ws2ipdef.h>
+ #include <WS2tcpip.h>
+ #else
+-#include <netinet/ip.h>
+ #include <arpa/inet.h>
++#include <netinet/ip.h>
+ #include <sys/uio.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
diff --git a/net/uvgrtp/files/patch-src_srtp_base.hh b/net/uvgrtp/files/patch-src_srtp_base.hh
new file mode 100644
index 000000000000..dab7f0449533
--- /dev/null
+++ b/net/uvgrtp/files/patch-src_srtp_base.hh
@@ -0,0 +1,12 @@
+--- src/srtp/base.hh.orig 2025-03-20 09:59:25 UTC
++++ src/srtp/base.hh
+@@ -7,8 +7,8 @@
+ #include <mswsock.h>
+ #include <inaddr.h>
+ #else
+-#include <netinet/ip.h>
+ #include <arpa/inet.h>
++#include <netinet/ip.h>
+ #endif
+
+ #include <cstdint>