diff options
author | Rene Ladan <rene@FreeBSD.org> | 2022-02-20 12:35:15 +0100 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-02-20 12:42:02 +0100 |
commit | a23dfd214ae04e8b4d116ca6411570b684eb5ed6 (patch) | |
tree | a42703b6563673398eee97ae6ad4d01eafd77738 /www/chromium/files/patch-media_media__options.gni | |
parent | graphics/libglvnd: reduce dependency on gcc for everyone on powerpc64* by usi... (diff) |
www/chromium: update to 98.0.4758.102
- The port now uses the combined patch set for OpenBSD and FreeBSD
maintained by Robert Nagy.
- Fix build on i386 again.
Obtained from: Robert Nagy <robert@openbsd.org>
Security: https://vuxml.freebsd.org/freebsd/e12432af-8e73-11ec-8bc4-3065ec8fd3ec.html
Security: https://vuxml.freebsd.org/freebsd/e852f43c-846e-11ec-b043-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-media_media__options.gni')
-rw-r--r-- | www/chromium/files/patch-media_media__options.gni | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/www/chromium/files/patch-media_media__options.gni b/www/chromium/files/patch-media_media__options.gni index 4df038aefc52..328c50c9511b 100644 --- a/www/chromium/files/patch-media_media__options.gni +++ b/www/chromium/files/patch-media_media__options.gni @@ -1,6 +1,6 @@ ---- media/media_options.gni.orig 2021-09-24 04:26:08 UTC +--- media/media_options.gni.orig 2022-02-07 13:39:41 UTC +++ media/media_options.gni -@@ -113,6 +113,9 @@ declare_args() { +@@ -124,9 +124,12 @@ declare_args() { # Enables runtime selection of ALSA library for audio. use_alsa = false @@ -9,4 +9,19 @@ + # Alsa should be used on non-Android, non-Mac POSIX systems. # Alsa should be used on desktop Chromecast and audio-only Chromecast builds. - if (is_posix && !is_android && !is_mac && +- if (is_posix && !is_android && !is_mac && ++ if (is_posix && !is_android && !is_mac && !is_bsd && + (!is_chromecast || is_cast_desktop_build || is_cast_audio_only)) { + use_alsa = true + +@@ -141,6 +144,10 @@ declare_args() { + if (!use_cras && !is_chromecast && !is_asan && !is_tsan) { + use_pulseaudio = true + } ++ } ++ if (is_openbsd) { ++ use_sndio = true ++ use_pulseaudio = false + } + } + |