mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
14 lines
387 B
Plaintext
14 lines
387 B
Plaintext
$NetBSD: patch-af,v 1.4 2010/05/03 10:17:05 is Exp $
|
|
|
|
--- charsetConv.c.orig 2008-11-18 21:33:11.000000000 +0000
|
|
+++ charsetConv.c
|
|
@@ -265,7 +265,7 @@ static void initialize_to_native(void)
|
|
*/
|
|
int wchar_to_native(const wchar_t *wchar, char *native, size_t len)
|
|
{
|
|
-#ifdef HAVE_ICONV_H
|
|
+#if defined(HAVE_ICONV_H) && defined(__linux__)
|
|
int mangled;
|
|
int r;
|
|
initialize_to_native();
|