From 24909e772a07e1fb09f8a600662c6498e793a225 Mon Sep 17 00:00:00 2001 From: jschauma Date: Thu, 20 Feb 2003 16:50:16 +0000 Subject: Add patch based on PR pkg/20009, to fix the problem mentioned in PR pkg/19689, closing that PR. Bump PKG_REVISION. --- wm/bsetroot/Makefile | 4 ++-- wm/bsetroot/distinfo | 3 ++- wm/bsetroot/patches/patch-ac | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 wm/bsetroot/patches/patch-ac diff --git a/wm/bsetroot/Makefile b/wm/bsetroot/Makefile index 3bbed944b35..1b373a95d59 100644 --- a/wm/bsetroot/Makefile +++ b/wm/bsetroot/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.3 2003/01/05 20:00:29 jschauma Exp $ +# $NetBSD: Makefile,v 1.4 2003/02/20 16:50:16 jschauma Exp $ # DISTNAME= blackbox-0.65.0 PKGNAME= bsetroot-0.1 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= x11 wm MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=blackboxwm/} diff --git a/wm/bsetroot/distinfo b/wm/bsetroot/distinfo index 464d9cc97ce..b8a01a24598 100644 --- a/wm/bsetroot/distinfo +++ b/wm/bsetroot/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2003/01/05 19:58:45 jschauma Exp $ +$NetBSD: distinfo,v 1.3 2003/02/20 16:50:16 jschauma Exp $ SHA1 (blackbox-0.65.0.tar.gz) = 903a35526b1c29912ca500b7f8c205368e60fc38 Size (blackbox-0.65.0.tar.gz) = 292950 bytes SHA1 (patch-aa) = 134f628eef5cec1e9d7ce4b95a57c7e35a2307d9 SHA1 (patch-ab) = 0654be7d1465d0adc331714377f17e6e6bd459da +SHA1 (patch-ac) = 5f249a2e6d75e5d88605d6d8a1675d003b1cb52f diff --git a/wm/bsetroot/patches/patch-ac b/wm/bsetroot/patches/patch-ac new file mode 100644 index 00000000000..b5b4ca4e72a --- /dev/null +++ b/wm/bsetroot/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1 2003/02/20 16:50:17 jschauma Exp $ + +--- src/i18n.cc.orig Thu Feb 20 11:26:34 2003 ++++ src/i18n.cc Thu Feb 20 11:28:49 2003 +@@ -58,7 +58,8 @@ + I18n::I18n(void) { + mb = False; + #ifdef HAVE_SETLOCALE +- locale = setlocale(LC_ALL, ""); ++ (void)setlocale(LC_ALL, ""); ++ locale = setlocale(LC_MESSAGES, NULL); + if (! locale) { + fprintf(stderr, "failed to set locale, reverting to \"C\"\n"); + #endif // HAVE_SETLOCALE -- cgit v1.2.3