summaryrefslogtreecommitdiff
path: root/devel/monotone/files/patch-monotone.cc
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-02-12 21:11:43 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-02-12 21:11:43 +0000
commitd40968054107383189ed18e9724abc7d948a4002 (patch)
tree11f33e41cb9aedab6cb02e4623b3969c7f4689dd /devel/monotone/files/patch-monotone.cc
parentUnbreak devel/monotone on FreeBSD-5.3. (diff)
Upgrade to 0.16 and unbreak on FreeBSD-5.3.
PR: ports/76738 Submitted by: maintainer.
Notes
Notes: svn path=/head/; revision=128630
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))