Created attachment 702423 [details, diff] files/sndio.patch Firefox supports using sndio as an alternative sound backend (and later enabling it via media.cubeb.backend setting in about:config), but it requires a small patch to add a proper configure option for it. The sndio.patch belongs in the ebuild's files directory and was copied from Void Linux and modified to work with the most recent version of Firefox.
Created attachment 702426 [details, diff] Ebuild patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71824ed44182e4b38490ae6012bcfdc54a738e05 commit 71824ed44182e4b38490ae6012bcfdc54a738e05 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-04-29 17:51:00 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-04-29 19:23:23 +0000 www-client/firefox: add sndio support While here, add more Wayland patches. Closes: https://bugs.gentoo.org/785613 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> www-client/firefox/Manifest | 1 + www-client/firefox/firefox-88.0-r1.ebuild | 1168 +++++++++++++++++++++++++++++ www-client/firefox/metadata.xml | 1 + 3 files changed, 1170 insertions(+)