pkgsrc/security/tor-browser/patches/patch-dom_media_CubebUtils.cpp
wiz 7474c8534e tor-browser: update to 8.5.
This is based on a git checkout from a couple days ago; not completely
sure about the version number.

The Makefile now contains a short how-to for updating this package.

Many thanks for the www/firefox60 patches!

Use at your own risk!
Survives basic browsing and check.torproject.org claims it connects via tor.

Changes: too many to document.
2019-02-25 15:32:23 +00:00

13 lines
673 B
C++

$NetBSD: patch-dom_media_CubebUtils.cpp,v 1.1 2019/02/25 15:32:24 wiz Exp $
--- dom/media/CubebUtils.cpp.orig 2019-02-23 20:00:40.000000000 +0000
+++ dom/media/CubebUtils.cpp
@@ -143,7 +143,7 @@ const char kBrandBundleURL[] = "chrome:/
const char* AUDIOSTREAM_BACKEND_ID_STR[] = {
"jack", "pulse", "alsa", "audiounit", "audioqueue", "wasapi",
- "winmm", "directsound", "sndio", "opensl", "audiotrack", "kai"};
+ "winmm", "directsound", "sndio", "opensl", "audiotrack", "kai", "oss"};
/* Index for failures to create an audio stream the first time. */
const int CUBEB_BACKEND_INIT_FAILURE_FIRST =
ArrayLength(AUDIOSTREAM_BACKEND_ID_STR);