2013-09-26 17:14:40 +02:00

16 lines
546 B
Plaintext

$NetBSD: patch-an,v 1.3 2011/07/02 22:19:30 dholland Exp $
- the shipped code doesn't build
--- Amaya/thotlib/unicode/ustring.c~ 2007-10-18 03:40:32.000000000 -0400
+++ Amaya/thotlib/unicode/ustring.c 2008-09-08 05:37:01.000000000 -0400
@@ -437,7 +437,7 @@ CHARSET TtaGetLocaleCharset ()
if (LocaleSystemCharset == UNSUPPORTED_CHARSET)
{
char *buffer;
- buffer = nl_langinfo(_NL_MESSAGES_CODESET);
+ buffer = nl_langinfo(CODESET);
if (buffer != NULL)
LocaleSystemCharset = TtaGetCharset(buffer);
}