diff options
Diffstat (limited to 'audio/baresip/files')
| -rw-r--r-- | audio/baresip/files/patch-cmake_FindGST.cmake | 44 | ||||
| -rw-r--r-- | audio/baresip/files/patch-modules_sndio_CMakeLists.txt | 10 | ||||
| -rw-r--r-- | audio/baresip/files/patch-src_jbuf.c | 13 |
3 files changed, 54 insertions, 13 deletions
diff --git a/audio/baresip/files/patch-cmake_FindGST.cmake b/audio/baresip/files/patch-cmake_FindGST.cmake new file mode 100644 index 000000000000..51e347e884de --- /dev/null +++ b/audio/baresip/files/patch-cmake_FindGST.cmake @@ -0,0 +1,44 @@ +--- cmake/FindGST.cmake.orig 2025-10-17 17:11:22 UTC ++++ cmake/FindGST.cmake +@@ -2,14 +2,14 @@ find_path(GST_INCLUDE_DIR + NAMES gst/gst.h + HINTS + "${GST_INCLUDE_DIRS}" +- PATHS /usr/include/gstreamer-1.0 ++ PATHS %%LOCALBASE%%/include/gstreamer-1.0 + ) + + find_path(GL_INCLUDE_DIR + NAMES glib.h + HINTS + "${GL_INCLUDE_DIRS}" +- PATHS /usr/include/glib-2.0 ++ PATHS %%LOCALBASE%%/include/glib-2.0 + ) + + find_path(GLIB_INCLUDE_DIR +@@ -19,21 +19,21 @@ find_path(GLIB_INCLUDE_DIR + PATHS /usr/lib/x86_64-linux-gnu/glib-2.0 + /usr/lib/x86_64-linux-gnu/glib-2.0/include + /usr/lib64/glib-2.0 +- /usr/lib/glib-2.0 ++ %%LOCALBASE%%/lib/glib-2.0/include + ) + + find_library(GST_LIBRARY + NAMES gstreamer-1.0 + HINTS + "${GST_LIBRARY_DIRS}" +- PATHS /usr/lib/x86_64-linux-gnu ++ PATHS %%LOCALBASE%%/lib + ) + + find_library(GL_LIBRARY + NAMES glib-2.0 + HINTS + "${GL_LIBRARY_DIRS}" +- PATHS /usr/lib/x86_64-linux-gnu ++ PATHS %%LOCALBASE%%/lib + ) + + include(FindPackageHandleStandardArgs) diff --git a/audio/baresip/files/patch-modules_sndio_CMakeLists.txt b/audio/baresip/files/patch-modules_sndio_CMakeLists.txt new file mode 100644 index 000000000000..bdb88a88422e --- /dev/null +++ b/audio/baresip/files/patch-modules_sndio_CMakeLists.txt @@ -0,0 +1,10 @@ +--- modules/sndio/CMakeLists.txt.orig 2025-10-14 10:55:26 UTC ++++ modules/sndio/CMakeLists.txt +@@ -1,6 +1,6 @@ project(sndio) + project(sndio) + +-if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD") ++if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD|FreeBSD") + return() + endif() + diff --git a/audio/baresip/files/patch-src_jbuf.c b/audio/baresip/files/patch-src_jbuf.c deleted file mode 100644 index 0ca3794a044b..000000000000 --- a/audio/baresip/files/patch-src_jbuf.c +++ /dev/null @@ -1,13 +0,0 @@ ---- src/jbuf.c.orig 2025-09-10 13:06:07 UTC -+++ src/jbuf.c -@@ -7,6 +7,10 @@ - * Copyright (C) 2010 Creytiv.com - */ - -+#ifndef ETIME -+#define ETIME ETIMEDOUT -+#endif -+ - #undef RE_TRACE_ENABLED - #if JBUF_TRACE - #define RE_TRACE_ENABLED 1 |
