aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2024-02-04 10:16:48 +0000
committerThomas Zander <riggs@FreeBSD.org>2024-02-04 10:22:27 +0000
commitc486a2e17b24d1a5ad642eab46f6303bd8b785f7 (patch)
tree36889fe497981db149dadbef741b43279070a69c
parent518453d1a06ced8d88155c7e4cc47076e9168cb1 (diff)
downloadports-c486a2e17b24d1a5ad642eab46f6303bd8b785f7.tar.gz
ports-c486a2e17b24d1a5ad642eab46f6303bd8b785f7.zip
audio/re: Fix build on 15-CURRENT and 14-STABLE
Details: - Recent changes on head[1] and stable/14[2] cause the resolv detection in audio/re to add -lresolv to the linker flags, which is not available on FreeBSD. [1] https://cgit.freebsd.org/src/commit/?id=58cf91d3b72a01777bacf72d66a648a744ae3143 [2] https://cgit.freebsd.org/src/commit/?h=stable/14&id=5a70219b209f4ba8e8244d3886d364da4c00e4df Reported by: Herbert J. Skuhra <herbert@gojira.at>
-rw-r--r--audio/re/files/patch-cmake_re-config.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/audio/re/files/patch-cmake_re-config.cmake b/audio/re/files/patch-cmake_re-config.cmake
new file mode 100644
index 000000000000..62460acc807d
--- /dev/null
+++ b/audio/re/files/patch-cmake_re-config.cmake
@@ -0,0 +1,10 @@
+--- cmake/re-config.cmake.orig 2024-01-31 07:29:02 UTC
++++ cmake/re-config.cmake
+@@ -56,7 +56,6 @@ if(HAVE_RESOLV)
+ check_symbol_exists(res_ninit resolv.h HAVE_RESOLV)
+ endif()
+ if(HAVE_RESOLV)
+- set(RESOLV_LIBRARY resolv)
+ list(APPEND RE_DEFINITIONS HAVE_RESOLV)
+ else()
+ set(RESOLV_LIBRARY)