From f6168642b1e499d1e594efecda909b85e67527ca Mon Sep 17 00:00:00 2001 From: Duncaen Date: Wed, 2 May 2018 22:56:57 +0200 Subject: [PATCH] firefox: fix sandbox whitelist for sndios .aucat_cookie --- srcpkgs/firefox/patches/sndio.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/srcpkgs/firefox/patches/sndio.patch b/srcpkgs/firefox/patches/sndio.patch index f687c0bd6f6..097b313e90b 100644 --- a/srcpkgs/firefox/patches/sndio.patch +++ b/srcpkgs/firefox/patches/sndio.patch @@ -83,3 +83,15 @@ } // Firefox binary dir. +--- security/sandbox/linux/moz.build.orig ++++ security/sandbox/linux/moz.build +@@ -81,6 +81,9 @@ + if CONFIG['MOZ_ALSA']: + DEFINES['MOZ_ALSA'] = True + ++if CONFIG['MOZ_SNDIO']: ++ DEFINES['MOZ_SNDIO'] = 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.