diff options
Diffstat (limited to 'sysutils/mtools/patches/patch-af')
-rw-r--r-- | sysutils/mtools/patches/patch-af | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/mtools/patches/patch-af b/sysutils/mtools/patches/patch-af new file mode 100644 index 00000000000..4e308fa780d --- /dev/null +++ b/sysutils/mtools/patches/patch-af @@ -0,0 +1,13 @@ +$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(); |