Make bins_edit run again. Bump to 1.1.15nb1.

This commit is contained in:
wiz 2002-09-13 17:58:26 +00:00
parent c03973bbc0
commit 37e2604506
3 changed files with 10 additions and 8 deletions

View file

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.8 2002/09/11 09:15:02 wiz Exp $
# $NetBSD: Makefile,v 1.9 2002/09/13 17:58:26 wiz Exp $
#
DISTNAME= bins-1.1.15
PKGREVISION= 1
CATEGORIES= www graphics
MASTER_SITES= http://jsautret.free.fr/BINS/
EXTRACT_SUFX= .tar.bz2

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.6 2002/08/31 04:34:22 dmcmahill Exp $
$NetBSD: distinfo,v 1.7 2002/09/13 17:58:26 wiz Exp $
SHA1 (bins-1.1.15.tar.bz2) = c07631718436b1e1e577dbc5c4804331582d7b7e
Size (bins-1.1.15.tar.bz2) = 118221 bytes
SHA1 (patch-aa) = d0dd6b07207d5b0e71fab7953fb5372af927d9b8
SHA1 (patch-ab) = a36d3e78e8b4d1f1f1574cbf6a2c1aff76b6c0dd
SHA1 (patch-ab) = 3507afb9e5e709642f18454f4b5737b4abd6d99a

View file

@ -1,6 +1,6 @@
$NetBSD: patch-ab,v 1.2 2002/08/31 04:34:22 dmcmahill Exp $
$NetBSD: patch-ab,v 1.3 2002/09/13 17:58:27 wiz Exp $
--- bins_edit.orig Sat Aug 24 11:31:58 2002
--- bins_edit.orig Sat Aug 24 17:31:58 2002
+++ bins_edit
@@ -42,13 +42,14 @@ use HTML::Entities;
my $verbose = 1;
@ -10,14 +10,15 @@ $NetBSD: patch-ab,v 1.2 2002/08/31 04:34:22 dmcmahill Exp $
-chop($localEncoding);
-if (! $localEncoding or ($localEncoding eq "ANSI_X3.4-1968")) {
- # ANSI is unspeakably primitive, promote it.
- $localEncoding = "LATIN1";
- print "Forcing encoding to $localEncoding\n" if ($verbose >=2);
-}
+# XXX no "locale" command in NetBSD
+#my $localEncoding = `locale charmap`;
+#chop($localEncoding);
+#if (! $localEncoding or ($localEncoding eq "ANSI_X3.4-1968")) {
+# # ANSI is unspeakably primitive, promote it.
$localEncoding = "LATIN1";
- print "Forcing encoding to $localEncoding\n" if ($verbose >=2);
-}
+my $localEncoding = "LATIN1";
+# print "Forcing encoding to $localEncoding\n" if ($verbose >=2);
+#}
my $converter = Text::Iconv->new($localEncoding, "UTF-8");