aboutsummaryrefslogtreecommitdiffstats
path: root/testing/firefox/fix-sandbox-alsa.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-02-01 17:44:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-02-01 20:13:51 +0000
commitaeab50c64318f49054e86eb7692f1c2925f904ce (patch)
treeabf977e3b5f86b82b664fd7b43e1bbc6e3d00cdb /testing/firefox/fix-sandbox-alsa.patch
parentfb136adc438f327fb5171d22ed7620feeef0a013 (diff)
downloadaports-aeab50c64318f49054e86eb7692f1c2925f904ce.tar.bz2
aports-aeab50c64318f49054e86eb7692f1c2925f904ce.tar.xz
testing/firefox: fix alsa sound
fixes #8430
Diffstat (limited to 'testing/firefox/fix-sandbox-alsa.patch')
-rw-r--r--testing/firefox/fix-sandbox-alsa.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/firefox/fix-sandbox-alsa.patch b/testing/firefox/fix-sandbox-alsa.patch
new file mode 100644
index 0000000000..364e73318b
--- /dev/null
+++ b/testing/firefox/fix-sandbox-alsa.patch
@@ -0,0 +1,12 @@
+--- ./security/sandbox/linux/moz.build.orig
++++ ./security/sandbox/linux/moz.build
+@@ -77,6 +77,9 @@
+ 'SandboxOpenedFiles.cpp',
+ ]
+
++if CONFIG['MOZ_ALSA']:
++ DEFINES['MOZ_ALSA'] = True
++
+ # This copy of SafeSPrintf doesn't need to avoid the Chromium logging
+ # dependency like the one in libxul does, but this way the behavior is
+ # consistent. See also the comment in SandboxLogging.h.