head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.4 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.3.0.12 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.10 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.8 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.6 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.4 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.2.0.10 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.8 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.6 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.4 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.2 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.1.0.8 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.6 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.4 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.2 pkgsrc-2009Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2012.11.03.01.54.55; author ryoon; state dead; branches; next 1.3; 1.3 date 2011.05.21.15.33.00; author wiz; state Exp; branches; next 1.2; 1.2 date 2010.02.01.15.00.20; author jmcneill; state Exp; branches; next 1.1; 1.1 date 2009.01.21.15.40.20; author drochner; state Exp; branches; next ; desc @@ 1.4 log @Update to 2.1 * Tested on NetBSD/i386 5.1, /i386 6.0, and /amd64 6.99.13 * Also tested on OpenIndiana/i386 151a7, but my environment lacks audio device, so I cannot check audio output * Tested with multimedia/mplayer's -ao pulse option, works fine * Add gm4 to USE_TOOLS for OpenIndiana build Changelog: Many changes. See http://www.freedesktop.org/wiki/Software/PulseAudio . @ text @$NetBSD: patch-ca,v 1.3 2011/05/21 15:33:00 wiz Exp $ Avoid GNUism in iconv usage. --- src/pulse/utf8.c.orig 2009-09-10 00:04:58.000000000 +0000 +++ src/pulse/utf8.c @@@@ -55,6 +55,7 @@@@ #ifdef HAVE_ICONV #include +#include #endif #include @@@@ -238,11 +239,11 @@@@ static char* iconv_simple(const char *st } char* pa_utf8_to_locale (const char *str) { - return iconv_simple(str, "", "UTF-8"); + return iconv_simple(str, nl_langinfo(CODESET), "UTF-8"); } char* pa_locale_to_utf8 (const char *str) { - return iconv_simple(str, "UTF-8", ""); + return iconv_simple(str, "UTF-8", nl_langinfo(CODESET)); } #else @ 1.3 log @Add comments to most patches. Also add a patch by drochner: pthread_key_create returns 0 on success; return values on failure are not defined. Remaining patches without comments: patch-ab: adding an ifdef notyet in src/daemon/main.c patch-a{c,e}: --start -> -D (no idea why) patch-af: allow some Linux-only code also on NetBSD @ text @d1 1 a1 1 $NetBSD: patch-ca,v 1.2 2010/02/01 15:00:20 jmcneill Exp $ @ 1.2 log @Update pulseaudio to 0.9.21. Too many changes to list here: http://pulseaudio.org/milestone/0.9.15 http://pulseaudio.org/milestone/0.9.16 http://pulseaudio.org/milestone/0.9.17 http://pulseaudio.org/milestone/0.9.18 http://pulseaudio.org/milestone/0.9.19 http://pulseaudio.org/milestone/0.9.20 http://pulseaudio.org/milestone/0.9.21 @ text @d1 3 a3 1 $NetBSD: patch-ca,v 1.1 2009/01/21 15:40:20 drochner Exp $ @ 1.1 log @avoid GNUism in iconv usage @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/pulse/utf8.c.orig 2008-09-03 23:13:43.000000000 +0200 d13 1 a13 1 @@@@ -243,11 +244,11 @@@@ static char* iconv_simple(const char *st @