24909e772a
PR pkg/19689, closing that PR. Bump PKG_REVISION.
14 lines
448 B
Text
14 lines
448 B
Text
$NetBSD: patch-ac,v 1.1 2003/02/20 16:50:17 jschauma Exp $
|
|
|
|
--- src/i18n.cc.orig Thu Feb 20 11:26:34 2003
|
|
+++ src/i18n.cc Thu Feb 20 11:28:49 2003
|
|
@@ -58,7 +58,8 @@
|
|
I18n::I18n(void) {
|
|
mb = False;
|
|
#ifdef HAVE_SETLOCALE
|
|
- locale = setlocale(LC_ALL, "");
|
|
+ (void)setlocale(LC_ALL, "");
|
|
+ locale = setlocale(LC_MESSAGES, NULL);
|
|
if (! locale) {
|
|
fprintf(stderr, "failed to set locale, reverting to \"C\"\n");
|
|
#endif // HAVE_SETLOCALE
|