summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-au
blob: 25fbe8e3e74238d732c1260c38b0eff15fea0473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-au,v 1.2 2010/07/12 16:49:22 tnn Exp $

SOUND_VERSION just isn't a reliable way to detect features supported by
particular OSS implementation.

--- mozilla/media/libsydneyaudio/src/sydney_audio_oss.c.orig	2009-06-29 18:15:03.000000000 +0200
+++ mozilla/media/libsydneyaudio/src/sydney_audio_oss.c
@@ -51,9 +51,9 @@
 // support only versions newer than 3.6.1
 #define SUPP_OSS_VERSION OSS_VERSION(3,6,1)
 
-#if (SOUND_VERSION < SUPP_OSS_VERSION)
-#error Unsupported OSS Version
-#else
+//#if (SOUND_VERSION < SUPP_OSS_VERSION)
+//#error Unsupported OSS Version
+//#else
 
 typedef struct sa_buf sa_buf;
 struct sa_buf {
@@ -716,4 +716,4 @@ UNSUPPORTED(int sa_stream_drain(sa_strea
 
 const char *sa_strerror(int code) { return NULL; }
 
-#endif
+//#endif