summaryrefslogtreecommitdiff
path: root/devel/monotone/files/patch-monotone.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/monotone/files/patch-monotone.cc')
-rw-r--r--devel/monotone/files/patch-monotone.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/devel/monotone/files/patch-monotone.cc b/devel/monotone/files/patch-monotone.cc
index 359fd82b0a9d..acdb4c2bfba7 100644
--- a/devel/monotone/files/patch-monotone.cc
+++ b/devel/monotone/files/patch-monotone.cc
@@ -1,14 +1,13 @@
---- monotone.cc.orig Wed Jan 7 13:11:47 2004
-+++ monotone.cc Sun Mar 21 22:49:59 2004
-@@ -129,8 +129,11 @@
+--- monotone.cc.orig Fri Dec 31 03:16:53 2004
++++ monotone.cc Wed Jan 26 22:20:17 2005
+@@ -140,8 +140,10 @@
setlocale(LC_CTYPE, "");
setlocale(LC_MESSAGES, "");
-+
+#ifdef ENABLE_NLS
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
+#endif
- // decode all argv values into a UTF-8 array
-
+ L(F("set locale: LC_CTYPE=%s, LC_MESSAGES=%s\n")
+ % (setlocale(LC_CTYPE, NULL) == NULL ? "n/a" : setlocale(LC_CTYPE, NULL))