summaryrefslogtreecommitdiff
path: root/mail/thunderbird45/patches/patch-mozilla_media_libcubeb_src_cubeb.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird45/patches/patch-mozilla_media_libcubeb_src_cubeb.c')
-rw-r--r--mail/thunderbird45/patches/patch-mozilla_media_libcubeb_src_cubeb.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/mail/thunderbird45/patches/patch-mozilla_media_libcubeb_src_cubeb.c b/mail/thunderbird45/patches/patch-mozilla_media_libcubeb_src_cubeb.c
new file mode 100644
index 00000000000..690112b8706
--- /dev/null
+++ b/mail/thunderbird45/patches/patch-mozilla_media_libcubeb_src_cubeb.c
@@ -0,0 +1,24 @@
+$NetBSD: patch-mozilla_media_libcubeb_src_cubeb.c,v 1.1 2017/04/27 13:38:19 ryoon Exp $
+
+--- mozilla/media/libcubeb/src/cubeb.c.orig 2016-04-07 21:33:21.000000000 +0000
++++ mozilla/media/libcubeb/src/cubeb.c
+@@ -60,6 +60,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
+
+ int
+ validate_stream_params(cubeb_stream_params stream_params)
+@@ -129,6 +132,9 @@ cubeb_init(cubeb ** context, char const
+ #if defined(USE_KAI)
+ kai_init,
+ #endif
++#if defined(USE_OSS)
++ oss_init,
++#endif
+ };
+ int i;
+