summaryrefslogtreecommitdiff
path: root/www/firefox68/patches/patch-media_libcubeb_src_cubeb.c
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2020-03-13 20:02:44 +0000
committerbsiegert <bsiegert@pkgsrc.org>2020-03-13 20:02:44 +0000
commit55eba54b54a3bae3e3901ed90cb41f0a57312aab (patch)
tree05068edd52c320c47b41b1cbd59e2cf8ae0fdefa /www/firefox68/patches/patch-media_libcubeb_src_cubeb.c
parentf4a05ab6c11a5352facb1b947f339579b0bdd240 (diff)
downloadpkgsrc-55eba54b54a3bae3e3901ed90cb41f0a57312aab.tar.gz
Pullup ticket #6145 - requested by nia
www/firefox68: security fix Revisions pulled up: - www/firefox68/Makefile 1.15 - www/firefox68/PLIST 1.5 - www/firefox68/distinfo 1.11 - www/firefox68/mozilla-common.mk 1.7 - www/firefox68/options.mk 1.8 - www/firefox68/patches/patch-aa 1.2 - www/firefox68/patches/patch-build_moz.configure_old.configure deleted - www/firefox68/patches/patch-dom_media_CubebUtils.cpp 1.2 - www/firefox68/patches/patch-media_libcubeb_src_cubeb.c 1.2 - www/firefox68/patches/patch-media_libcubeb_src_cubeb__oss.c deleted - www/firefox68/patches/patch-media_libcubeb_src_moz.build 1.2 - www/firefox68/patches/patch-media_libcubeb_update.sh 1.2 - www/firefox68/patches/patch-toolkit_library_moz.build 1.2 --- Module Name: pkgsrc Committed By: nia Date: Thu Mar 12 19:39:35 UTC 2020 Modified Files: pkgsrc/www/firefox68: Makefile PLIST distinfo mozilla-common.mk options.mk pkgsrc/www/firefox68/patches: patch-aa patch-dom_media_CubebUtils.cpp patch-media_libcubeb_src_cubeb.c patch-media_libcubeb_src_moz.build patch-media_libcubeb_update.sh patch-toolkit_library_moz.build Removed Files: pkgsrc/www/firefox68/patches: patch-build_moz.configure_old.configure patch-media_libcubeb_src_cubeb__oss.c Log Message: firefox68: Update to 68.6.0 While here, - Remove OSS support now that cubeb_sun has been stable for a long while - Appease pkglint Security fixes in this release: #CVE-2020-6805: Use-after-free when removing data about origins #CVE-2020-6806: BodyStream::OnInputStreamReady was missing protections #CVE-2020-6807: Use-after-free in cubeb during stream destruction #CVE-2020-6811: Devtools' 'Copy as cURL' feature did not fully escape #CVE-2019-20503: Out of bounds reads in sctp_load_addresses_from_init #CVE-2020-6812: The names of AirPods with personally identifiable #CVE-2020-6814: Memory safety bugs fixed in Firefox 74 and Firefox ESR 68.6
Diffstat (limited to 'www/firefox68/patches/patch-media_libcubeb_src_cubeb.c')
-rw-r--r--www/firefox68/patches/patch-media_libcubeb_src_cubeb.c38
1 files changed, 3 insertions, 35 deletions
diff --git a/www/firefox68/patches/patch-media_libcubeb_src_cubeb.c b/www/firefox68/patches/patch-media_libcubeb_src_cubeb.c
index c63176cc93c..937a545a6ff 100644
--- a/www/firefox68/patches/patch-media_libcubeb_src_cubeb.c
+++ b/www/firefox68/patches/patch-media_libcubeb_src_cubeb.c
@@ -1,9 +1,8 @@
-$NetBSD: patch-media_libcubeb_src_cubeb.c,v 1.1 2019/09/21 07:31:44 ryoon Exp $
+$NetBSD: patch-media_libcubeb_src_cubeb.c,v 1.1.6.1 2020/03/13 20:02:45 bsiegert Exp $
-* Support OSS audio
* Support Sun audio
---- media/libcubeb/src/cubeb.c.orig 2019-06-09 08:15:58.000000000 +0000
+--- media/libcubeb/src/cubeb.c.orig 2020-03-05 20:57:11.000000000 +0000
+++ media/libcubeb/src/cubeb.c
@@ -51,6 +51,9 @@ int wasapi_init(cubeb ** context, char c
#if defined(USE_SNDIO)
@@ -15,28 +14,7 @@ $NetBSD: patch-media_libcubeb_src_cubeb.c,v 1.1 2019/09/21 07:31:44 ryoon Exp $
#if defined(USE_OPENSL)
int opensl_init(cubeb ** context, char const * context_name);
#endif
-@@ -60,6 +63,9 @@ int audiotrack_init(cubeb ** context, ch
- #if defined(USE_KAI)
- int kai_init(cubeb ** context, char const * context_name);
- #endif
-+#if defined(USE_OSS)
-+int oss_init(cubeb ** context, char const * context_name);
-+#endif
-
- static int
- validate_stream_params(cubeb_stream_params * input_stream_params,
-@@ -160,6 +166,10 @@ cubeb_init(cubeb ** context, char const
- #if defined(USE_KAI)
- init_oneshot = kai_init;
- #endif
-+ } else if (!strcmp(backend_name, "oss")) {
-+#if defined(USE_OSS)
-+ init_oneshot = oss_init;
-+#endif
- } else {
- /* Already set */
- }
-@@ -195,6 +205,9 @@ cubeb_init(cubeb ** context, char const
+@@ -195,6 +198,9 @@ cubeb_init(cubeb ** context, char const
#if defined(USE_SNDIO)
sndio_init,
#endif
@@ -46,13 +24,3 @@ $NetBSD: patch-media_libcubeb_src_cubeb.c,v 1.1 2019/09/21 07:31:44 ryoon Exp $
#if defined(USE_OPENSL)
opensl_init,
#endif
-@@ -204,6 +217,9 @@ cubeb_init(cubeb ** context, char const
- #if defined(USE_KAI)
- kai_init,
- #endif
-+#if defined(USE_OSS)
-+ oss_init,
-+#endif
- };
- int i;
-