summaryrefslogtreecommitdiff
path: root/www/firefox52/patches/patch-media_libcubeb_src_cubeb.c
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox52/patches/patch-media_libcubeb_src_cubeb.c')
-rw-r--r--www/firefox52/patches/patch-media_libcubeb_src_cubeb.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/www/firefox52/patches/patch-media_libcubeb_src_cubeb.c b/www/firefox52/patches/patch-media_libcubeb_src_cubeb.c
new file mode 100644
index 00000000000..19740db1991
--- /dev/null
+++ b/www/firefox52/patches/patch-media_libcubeb_src_cubeb.c
@@ -0,0 +1,26 @@
+$NetBSD: patch-media_libcubeb_src_cubeb.c,v 1.1 2017/04/27 01:55:57 ryoon Exp $
+
+* Support OSS audio
+
+--- media/libcubeb/src/cubeb.c.orig 2017-01-23 16:13:54.000000000 +0000
++++ media/libcubeb/src/cubeb.c
+@@ -54,6 +54,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
+@@ -141,6 +144,9 @@ cubeb_init(cubeb ** context, char const
+ #if defined(USE_KAI)
+ kai_init,
+ #endif
++#if defined(USE_OSS)
++ oss_init,
++#endif
+ };
+ int i;
+