From 799ecdf7b272ebe3711a443711251e0403981140 Mon Sep 17 00:00:00 2001 From: he Date: Wed, 11 Dec 2002 12:00:36 +0000 Subject: 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). --- www/mozilla/distinfo | 3 ++- www/mozilla/patches/patch-bn | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 www/mozilla/patches/patch-bn (limited to 'www/mozilla') 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 -- cgit v1.2.3