Add patch based on PR pkg/20009, to fix the problem mentioned in

PR pkg/19689, closing that PR.

Bump PKG_REVISION.
This commit is contained in:
jschauma 2003-02-20 16:50:16 +00:00
parent e3fa551bfb
commit 24909e772a
3 changed files with 18 additions and 3 deletions

View file

@ -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/}

View file

@ -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

View file

@ -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