summaryrefslogtreecommitdiff
path: root/wm/fluxbox/patches
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2007-01-15 17:41:28 +0000
committertonio <tonio@pkgsrc.org>2007-01-15 17:41:28 +0000
commitcb97fd8cf6a6a1d4ac94551716ef14eec251318a (patch)
treeb80a334b2fa3105d3c32c27014b931228c95c88e /wm/fluxbox/patches
parent5fd051a7ca5bed7ca5b4e757de69df754bc0ca24 (diff)
downloadpkgsrc-cb97fd8cf6a6a1d4ac94551716ef14eec251318a.tar.gz
Update wm/fluxbox to 1.0rc2
Apply a patch by Dan Bilik to remove optimisation flags that cause compiler to fail Changelog contains many bugfixes and improvements: - New resource/command: session.modKey, command SetModKey - More ewmh support: _NET_WM_WINDOW_TYPE_DIALOG and _NET_FRAME_EXTENTS - External tabs are back - Added support for net wm atoms - Added new commands: ToggleCmd, CloseAllWindows - Supports urgency hint ( flashing titlebar/iconbar ) - Pressing shift while pressing enter in menu item will fake a right mouse button press. - Better UTF-8 handling - Added option to reverse desktop wheeling: session.screen0.reversewheeling - Vertical toolbar is back
Diffstat (limited to 'wm/fluxbox/patches')
-rw-r--r--wm/fluxbox/patches/patch-af10
1 files changed, 5 insertions, 5 deletions
diff --git a/wm/fluxbox/patches/patch-af b/wm/fluxbox/patches/patch-af
index 82a64533468..0e9c7374a35 100644
--- a/wm/fluxbox/patches/patch-af
+++ b/wm/fluxbox/patches/patch-af
@@ -1,15 +1,15 @@
-$NetBSD: patch-af,v 1.3 2005/09/27 12:49:04 tonio Exp $
+$NetBSD: patch-af,v 1.4 2007/01/15 17:41:28 tonio Exp $
---- src/FbTk/I18n.cc.orig 2005-05-18 10:31:05.000000000 +0200
+--- src/FbTk/I18n.cc.orig 2007-01-15 17:54:14.000000000 +0100
+++ src/FbTk/I18n.cc
-@@ -74,7 +74,9 @@ void NLSInit(const char *catalog) {
- I18n::I18n():m_multibyte(false), m_catalog_fd((nl_catd)(-1)) {
+@@ -76,7 +76,9 @@ void NLSInit(const char *catalog) {
+ I18n::I18n():m_multibyte(false), m_utf8_translate(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_MESSAGES, "");
+ char *temp;
+ (void)setlocale(LC_ALL, "");
+ temp = setlocale(LC_MESSAGES, NULL);
- m_locale = ( temp ? temp : "");
+ m_locale = ( temp ? temp : "");
if (m_locale.empty()) {
cerr<<"Warning: Failed to set locale, reverting to \"C\""<<endl;