diff options
Diffstat (limited to 'wm/fluxbox/patches')
-rw-r--r-- | wm/fluxbox/patches/patch-ae | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/wm/fluxbox/patches/patch-ae b/wm/fluxbox/patches/patch-ae new file mode 100644 index 00000000000..c9f1ed7f16d --- /dev/null +++ b/wm/fluxbox/patches/patch-ae @@ -0,0 +1,15 @@ +$NetBSD: patch-ae,v 1.1 2003/08/14 14:17:41 jschauma Exp $ + +--- src/I18n.cc.orig 2003-08-14 10:03:53.000000000 -0400 ++++ src/I18n.cc 2003-08-14 10:05:06.000000000 -0400 +@@ -58,7 +58,9 @@ + I18n::I18n():m_multibyte(false), m_catalog_fd((nl_catd)(-1)) { + #ifdef HAVE_SETLOCALE + //make sure we don't get 0 to m_locale string +- char *temp = setlocale(LC_ALL, ""); ++ char *temp; ++ (void)setlocale(LC_ALL, ""); ++ temp = setlocale(LC_MESSAGES, NULL); + m_locale = ( temp ? temp : ""); + if (m_locale.size() == 0) { + cerr<<"Warning: Failed to set locale, reverting to \"C\""<<endl; |