summaryrefslogtreecommitdiff
path: root/www/bins/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'www/bins/patches/patch-ab')
-rw-r--r--www/bins/patches/patch-ab11
1 files changed, 6 insertions, 5 deletions
diff --git a/www/bins/patches/patch-ab b/www/bins/patches/patch-ab
index acf05260293..9b13daf9487 100644
--- a/www/bins/patches/patch-ab
+++ b/www/bins/patches/patch-ab
@@ -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");