blob: 0f5ecb9891df3732894d733db75b954464bd9887 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-ab,v 1.17 2010/11/26 14:49:50 adam Exp $
--- src/af/util/xp/ut_iconv.cpp.orig 2009-06-25 00:52:27.000000000 +0000
+++ src/af/util/xp/ut_iconv.cpp
@@ -267,9 +267,11 @@ const char * ucs4Internal ()
#elif defined(_LIBICONV_H)
// libiconv seems to prefer UCS-4-INTERNAL to UCS-4BE and UCS-4LE
return "UCS-4-INTERNAL";
-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__) || defined(__OpenBSD__)
// we special case the BSDs since spelling just doesn't work
return "UCS4";
+#elif defined(__NetBSD__)
+ return "UCS-4";
#else
// general case, found by hub and dom
if (s_ucs4_internal == 0)
|