git: 0783d3a1941c - main - multimedia/ringrtc: Fix build.

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Wed, 13 Dec 2023 09:03:12 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0783d3a1941c636df2402e1dfc3469ecb68fea4a

commit 0783d3a1941c636df2402e1dfc3469ecb68fea4a
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-12-13 09:02:20 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-12-13 09:03:08 +0000

    multimedia/ringrtc: Fix build.
---
 .../files/patch-src_webrtc_src_build_toolchain_toolchain.gni  | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/multimedia/ringrtc/files/patch-src_webrtc_src_build_toolchain_toolchain.gni b/multimedia/ringrtc/files/patch-src_webrtc_src_build_toolchain_toolchain.gni
new file mode 100644
index 000000000000..1936f91498d1
--- /dev/null
+++ b/multimedia/ringrtc/files/patch-src_webrtc_src_build_toolchain_toolchain.gni
@@ -0,0 +1,11 @@
+--- src/webrtc/src/build/toolchain/toolchain.gni.orig	2023-12-10 09:44:57 UTC
++++ src/webrtc/src/build/toolchain/toolchain.gni
+@@ -67,7 +67,7 @@ if (host_os == "mac") {
+   host_shlib_extension = ".dylib"
+ } else if (host_os == "win") {
+   host_shlib_extension = ".dll"
+-} else if (host_os == "linux" || host_os == "aix") {
++} else if (host_os == "freebsd" || host_os == "linux" || host_os == "aix") {
+   host_shlib_extension = ".so"
+ } else {
+   assert(false, "Host platform not supported")