summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2002-07-07 13:21:52 +0000
committersimonb <simonb@pkgsrc.org>2002-07-07 13:21:52 +0000
commitf23d6ab6cb298bb2372dadc63f0f10668b88dd84 (patch)
tree8096f19c7e9f4afa75537b5798349aad77fd5195 /www
parent83379639ee7f6e17208e527928851adb27efeb42 (diff)
downloadpkgsrc-f23d6ab6cb298bb2372dadc63f0f10668b88dd84.tar.gz
There is no "locale" command in NetBSD (apparently a glibc'ism), so
assume the default locale.
Diffstat (limited to 'www')
-rw-r--r--www/bins/distinfo4
-rw-r--r--www/bins/patches/patch-aa26
-rw-r--r--www/bins/patches/patch-ab24
3 files changed, 53 insertions, 1 deletions
diff --git a/www/bins/distinfo b/www/bins/distinfo
index 3061c02193a..d1d7bd6eda1 100644
--- a/www/bins/distinfo
+++ b/www/bins/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/07/04 19:37:38 wiz Exp $
+$NetBSD: distinfo,v 1.2 2002/07/07 13:21:52 simonb Exp $
SHA1 (bins-1.1.10.tar.bz2) = 7ed3889654cefa264d22e3b136669701c5f3a9d3
Size (bins-1.1.10.tar.bz2) = 98777 bytes
+SHA1 (patch-aa) = fa5bc26e8e134a3bbeb74f32ed1e5d967b945432
+SHA1 (patch-ab) = 3109680a859da8499a6b14406aeddbb06536c0fa
diff --git a/www/bins/patches/patch-aa b/www/bins/patches/patch-aa
new file mode 100644
index 00000000000..010ff8ba25e
--- /dev/null
+++ b/www/bins/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.1 2002/07/07 13:21:53 simonb Exp $
+
+--- bins.orig Mon Jun 10 05:54:12 2002
++++ bins
+@@ -237,13 +237,14 @@
+
+ );
+
+-# normally, you don't have to touch that...
+-my $localEncoding = `locale charmap`;
+-# ANSI is unspeakably primitive, keep LATIN1 instead
+-if ($localEncoding && ($localEncoding ne "ANSI_X3.4-1968")) {
+- $defaultConfig{defaultEncoding} = $localEncoding;
+- beVerboseN("Forcing encoding to $localEncoding", 2);
+-}
++# XXX no "locale" command in NetBSD
++# # normally, you don't have to touch that...
++# my $localEncoding = `locale charmap`;
++# # ANSI is unspeakably primitive, keep LATIN1 instead
++# if ($localEncoding && ($localEncoding ne "ANSI_X3.4-1968")) {
++# $defaultConfig{defaultEncoding} = $localEncoding;
++# beVerboseN("Forcing encoding to $localEncoding", 2);
++# }
+ my $local2htmlConverter;
+ if ($defaultConfig{defaultEncoding} ne $defaultConfig{htmlEncoding}){
+ $local2htmlConverter = Text::Iconv->new($defaultConfig{defaultEncoding},
diff --git a/www/bins/patches/patch-ab b/www/bins/patches/patch-ab
new file mode 100644
index 00000000000..3828aa8ecbc
--- /dev/null
+++ b/www/bins/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1 2002/07/07 13:21:53 simonb Exp $
+
+--- bins_edit.orig Mon Jun 10 05:54:13 2002
++++ bins_edit
+@@ -42,12 +42,14 @@
+ my $verbose = 1;
+ my $html=0;
+
+-my $localEncoding = `locale charmap`;
+-if (! $localEncoding or ($localEncoding eq "ANSI_X3.4-1968")) {
+- # ANSI is unspeakably primitive, promote it.
++# XXX no "locale" command in NetBSD
++# my $localEncoding = `locale charmap`;
++# if (! $localEncoding or ($localEncoding eq "ANSI_X3.4-1968")) {
++# # ANSI is unspeakably primitive, promote it.
++my
+ $localEncoding = "LATIN1";
+- print "Forcing encoding to $localEncoding\n" if ($verbose >=2);
+-}
++# print "Forcing encoding to $localEncoding\n" if ($verbose >=2);
++# }
+ my $converter = Text::Iconv->new($localEncoding, "UTF-8");
+
+ # decode HTML entites which doesn't exist in XML