diff options
author | drochner <drochner@pkgsrc.org> | 2009-01-21 15:40:20 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-01-21 15:40:20 +0000 |
commit | e3b191ca53d65e71489fd694e69acee66531544f (patch) | |
tree | f838124e3c151bd772ae100093b2538340ef1288 /audio/pulseaudio | |
parent | 62253534ba684d98da8254151d5e6de716cc1151 (diff) | |
download | pkgsrc-e3b191ca53d65e71489fd694e69acee66531544f.tar.gz |
avoid GNUism in iconv usage
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r-- | audio/pulseaudio/distinfo | 3 | ||||
-rw-r--r-- | audio/pulseaudio/patches/patch-ca | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/audio/pulseaudio/distinfo b/audio/pulseaudio/distinfo index 458bc016a9d..4a019249a5b 100644 --- a/audio/pulseaudio/distinfo +++ b/audio/pulseaudio/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.12 2009/01/19 14:19:00 jmcneill Exp $ +$NetBSD: distinfo,v 1.13 2009/01/21 15:40:20 drochner Exp $ SHA1 (pulseaudio-0.9.14.tar.gz) = a0fb7c21ee21178e102a1e5a11d8ac474e6f5da4 RMD160 (pulseaudio-0.9.14.tar.gz) = c7722d0d0240555edf917391989ad2e1cd4eb6b1 @@ -16,3 +16,4 @@ SHA1 (patch-aj) = 50edf909d5d7cc35e925685cdf0831e73d06f6ec SHA1 (patch-ak) = 2a2f80a2ab4b30f2daaebdb1ad0bcb54345743cd SHA1 (patch-ba) = da9742d49ecb409cd13bee4468e64f982c03cffe SHA1 (patch-bb) = ae0209dac352df7abfcf66c452f2ebb91e35e42a +SHA1 (patch-ca) = 75eef8955fa368a144b9e55258389332a177ed6c diff --git a/audio/pulseaudio/patches/patch-ca b/audio/pulseaudio/patches/patch-ca new file mode 100644 index 00000000000..486e43d966f --- /dev/null +++ b/audio/pulseaudio/patches/patch-ca @@ -0,0 +1,26 @@ +$NetBSD: patch-ca,v 1.1 2009/01/21 15:40:20 drochner Exp $ + +--- src/pulse/utf8.c.orig 2008-09-03 23:13:43.000000000 +0200 ++++ src/pulse/utf8.c +@@ -55,6 +55,7 @@ + + #ifdef HAVE_ICONV + #include <iconv.h> ++#include <langinfo.h> + #endif + + #include <pulse/xmalloc.h> +@@ -243,11 +244,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 |