diff options
Diffstat (limited to 'multimedia/ringrtc/files/patch-src_webrtc_src_ringrtc_opus_BUILD.gn')
-rw-r--r-- | multimedia/ringrtc/files/patch-src_webrtc_src_ringrtc_opus_BUILD.gn | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/ringrtc/files/patch-src_webrtc_src_ringrtc_opus_BUILD.gn b/multimedia/ringrtc/files/patch-src_webrtc_src_ringrtc_opus_BUILD.gn new file mode 100644 index 000000000000..e807b8274b70 --- /dev/null +++ b/multimedia/ringrtc/files/patch-src_webrtc_src_ringrtc_opus_BUILD.gn @@ -0,0 +1,18 @@ +Use VAR_ARRAYS on FreeBSD (same as audio/opus) + +--- src/webrtc/src/ringrtc/opus/BUILD.gn 2021-03-15 17:51:55 UTC ++++ src/webrtc/src/ringrtc/opus/BUILD.gn +@@ -37,10 +37,11 @@ config("opus_private_config") { + "OPUS_EXPORT=", + "ENABLE_HARDENING", + ++ "VAR_ARRAYS", + # Prefer alloca() over variable length arrays which are often inefficient; + # the opus code will automatically handle this correctly per-platform. +- "USE_ALLOCA", +- "HAVE_ALLOCA_H", ++# "USE_ALLOCA", ++# "HAVE_ALLOCA_H", + ] + + include_dirs = [ |