git: 3deaf6913605 - 2023Q2 - www/firefox: respect media.cubeb.backend

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 26 May 2023 03:50:01 UTC
The branch 2023Q2 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3deaf6913605e4e234d9c7542140f8982b54facd

commit 3deaf6913605e4e234d9c7542140f8982b54facd
Author:     Tatsuki Makino <tatsuki_makino@hotmail.com>
AuthorDate: 2023-04-18 08:44:55 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-05-26 03:49:38 +0000

    www/firefox: respect media.cubeb.backend
    
    PR:             270436
    (cherry picked from commit ea1e7e4df533eadce4c3ee65e99cda8a662220c1)
---
 www/firefox/Makefile               |  1 +
 www/firefox/files/patch-bug1427152 | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index ebdd5bb796de..a245d8d21af9 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	firefox
 DISTVERSION=	113.0.2
+PORTREVISION=	1
 PORTEPOCH=	2
 CATEGORIES=	www wayland
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/${DISTVERSION}${DISTVERSIONSUFFIX}/source \
diff --git a/www/firefox/files/patch-bug1427152 b/www/firefox/files/patch-bug1427152
new file mode 100644
index 000000000000..49bd5a581ac8
--- /dev/null
+++ b/www/firefox/files/patch-bug1427152
@@ -0,0 +1,10 @@
+--- modules/libpref/Preferences.cpp.orig	2023-05-11 21:42:41 UTC
++++ modules/libpref/Preferences.cpp
+@@ -6126,6 +6126,7 @@ static const PrefListEntry sDynamicPrefOverrideList[]{
+     PREF_LIST_ENTRY("logging.config.LOG_FILE"),
+     PREF_LIST_ENTRY("media.audio_loopback_dev"),
+     PREF_LIST_ENTRY("media.decoder-doctor."),
++    PREF_LIST_ENTRY("media.cubeb.backend"),
+     PREF_LIST_ENTRY("media.cubeb.output_device"),
+     PREF_LIST_ENTRY("media.getusermedia.fake-camera-name"),
+     PREF_LIST_ENTRY("media.hls.server.url"),