summaryrefslogtreecommitdiff
path: root/wm/fluxbox/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'wm/fluxbox/patches/patch-ac')
-rw-r--r--wm/fluxbox/patches/patch-ac30
1 files changed, 16 insertions, 14 deletions
diff --git a/wm/fluxbox/patches/patch-ac b/wm/fluxbox/patches/patch-ac
index d1052dd8a19..e089cb7a765 100644
--- a/wm/fluxbox/patches/patch-ac
+++ b/wm/fluxbox/patches/patch-ac
@@ -1,15 +1,17 @@
-$NetBSD: patch-ac,v 1.3 2003/02/14 20:57:56 wiz Exp $
+$NetBSD: patch-ac,v 1.4 2003/07/28 17:50:12 hubertf Exp $
---- src/i18n.cc.orig Sat Dec 7 15:14:05 2002
-+++ src/i18n.cc
-@@ -61,7 +61,9 @@ void NLSInit(const char *catalog) {
- 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;
+--- src/fluxbox.cc.orig Thu Jul 10 14:00:49 2003
++++ src/fluxbox.cc
+@@ -629,7 +629,11 @@
+
+ bool create_init = false, create_keys = false, create_menu = false;
+
+- string dirname = getenv("HOME")+string("/.")+string(m_RC_PATH) + "/";
++ string dirname = getenv("HOME")+string("/.")+string(m_RC_PATH)
++#if 0
++ + "/"
++#endif
++ ;
+ string init_file, keys_file, menu_file, slitlist_file;
+ init_file = dirname + m_RC_INIT_FILE;
+ keys_file = dirname + "keys";