pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/wm/fluxbox Re-add a patch to fix the problems with set...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cd90933d1cab
branches: trunk
changeset: 475694:cd90933d1cab
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Sun May 23 16:30:03 2004 +0000
description:
Re-add a patch to fix the problems with setlocale(3).
diffstat:
wm/fluxbox/distinfo | 3 ++-
wm/fluxbox/patches/patch-af | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r e32ec4c04374 -r cd90933d1cab wm/fluxbox/distinfo
--- a/wm/fluxbox/distinfo Sun May 23 16:01:49 2004 +0000
+++ b/wm/fluxbox/distinfo Sun May 23 16:30:03 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2004/05/13 10:04:09 wiz Exp $
+$NetBSD: distinfo,v 1.13 2004/05/23 16:30:03 xtraeme Exp $
SHA1 (fluxbox-0.9.9.tar.bz2) = 4322b7abf20b79539c36c74d101a9fb40b6360e2
Size (fluxbox-0.9.9.tar.bz2) = 536673 bytes
@@ -7,3 +7,4 @@
SHA1 (patch-ac) = f304326b795f96d59446f5a618331b15cdca7970
SHA1 (patch-ad) = ea13a889a03203ce559e9d08c7c83dcc86f21cba
SHA1 (patch-ae) = 63f52138beeeb3fddf8a380d8c1d79b1c841e18c
+SHA1 (patch-af) = ed6f1173c0fba36d5883cc2c2a44d30212d09750
diff -r e32ec4c04374 -r cd90933d1cab wm/fluxbox/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/fluxbox/patches/patch-af Sun May 23 16:30:03 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-af,v 1.1 2004/05/23 16:30:03 xtraeme Exp $
+
+--- src/I18n.cc.orig 2004-05-23 18:20:51.000000000 +0200
++++ src/I18n.cc 2004-05-23 18:22:21.000000000 +0200
+@@ -54,7 +54,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.empty()) {
+ cerr<<"Warning: Failed to set locale, reverting to \"C\""<<endl;
Home |
Main Index |
Thread Index |
Old Index