head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2; locks; strict; comment @# @; 1.2 date 2012.03.10.14.57.31; author ryoon; state dead; branches; next 1.1; 1.1 date 2012.03.10.03.26.05; author ryoon; state Exp; branches; next ; desc @@ 1.2 log @Remove necessary backups of the patches. @ text @$NetBSD: patch-au.orig,v 1.1 2012/03/10 03:26:05 ryoon Exp $ - Fix device name on NetBSD - 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 2011-08-11 21:41:16.000000000 +0000 +++ mozilla/media/libsydneyaudio/src/sydney_audio_oss.c @@@@ -55,7 +55,7 @@@@ // support only versions newer than 3.6.1 #define SUPP_OSS_VERSION OSS_VERSION(3,0,1) -#if (SOUND_VERSION < SUPP_OSS_VERSION) +#if 0 // (SOUND_VERSION < SUPP_OSS_VERSION) #error Unsupported OSS Version #else @@@@ -205,7 +205,12 @@@@ sa_stream_create_pcm( return SA_ERROR_SYSTEM; } +#if defined(__NetBSD__) + /* XXX should use DEVOSSAUDIO provided by pkgsrc. */ + s->output_unit = "/dev/audio"; +#else s->output_unit = "/dev/dsp"; +#endif s->output_fd = -1; s->thread_id = 0; s->playing = 0; @ 1.1 log @Update to 2.7.2 * Many new features. * Security bugfixes. * See http://www.seamonkey-project.org/releases/seamonkey2.7/ @ text @d1 1 a1 1 $NetBSD: patch-au,v 1.3 2011/08/19 10:10:01 tnn Exp $ @