summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorhe <he>2002-12-11 12:00:36 +0000
committerhe <he>2002-12-11 12:00:36 +0000
commit2fb1da768d989c88e533c453c30c2a4f33b220af (patch)
treeadb02bd92b23492094e9f061bbbdf5470914079e /www
parente9a590f4a39ed775191009f78e95fa084813cb6f (diff)
downloadpkgsrc-2fb1da768d989c88e533c453c30c2a4f33b220af.tar.gz
Add a patch to make this build & run on 1.5.3, where CODESET isn't
defined. Fix to PR#19325 forthcoming (same problem with phoenix).
Diffstat (limited to 'www')
-rw-r--r--www/mozilla/distinfo3
-rw-r--r--www/mozilla/patches/patch-bn17
2 files changed, 19 insertions, 1 deletions
diff --git a/www/mozilla/distinfo b/www/mozilla/distinfo
index b46e1a6ad3e..1548f373afa 100644
--- a/www/mozilla/distinfo
+++ b/www/mozilla/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.31 2002/12/05 02:59:46 uebayasi Exp $
+$NetBSD: distinfo,v 1.32 2002/12/11 12:00:37 he Exp $
SHA1 (mozilla-source-1.2.1.tar.bz2) = 3af707a14eb11e3f615ad7d2225cc7205faa4d36
Size (mozilla-source-1.2.1.tar.bz2) = 30919648 bytes
@@ -14,3 +14,4 @@ SHA1 (patch-bb) = 6ad4068f3dad88dbc6c74679268f3a64a91bb2d8
SHA1 (patch-be) = da2d741f7fbfa9538e3baab250a57b948335e2f6
SHA1 (patch-bj) = 7c625199a11dbafec6ed43e5ca2af1538bd1fc6f
SHA1 (patch-bm) = 90293a32a571e58884a815b4ca18616bed4fb3af
+SHA1 (patch-bn) = fe5152d4f4bb8bd791249237f0dcd14e11ba27d1
diff --git a/www/mozilla/patches/patch-bn b/www/mozilla/patches/patch-bn
new file mode 100644
index 00000000000..81e7226c94a
--- /dev/null
+++ b/www/mozilla/patches/patch-bn
@@ -0,0 +1,17 @@
+$NetBSD: patch-bn,v 1.1 2002/12/11 12:00:36 he Exp $
+
+--- xpcom/io/nsNativeCharsetUtils.cpp.orig Sun Oct 6 05:42:55 2002
++++ xpcom/io/nsNativeCharsetUtils.cpp
+@@ -256,7 +256,12 @@
+ {
+ const char *blank_list[] = { "", NULL };
+ const char **native_charset_list = blank_list;
++#ifdef CODESET
+ const char *native_charset = nl_langinfo(CODESET);
++#else
++ const char *native_charset = nsnull;
++#endif
++
+ if (native_charset == nsnull) {
+ NS_ERROR("native charset is unknown");
+ // fallback to ISO-8859-1