diff options
author | he <he@pkgsrc.org> | 2002-12-11 12:00:36 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2002-12-11 12:00:36 +0000 |
commit | 799ecdf7b272ebe3711a443711251e0403981140 (patch) | |
tree | adb02bd92b23492094e9f061bbbdf5470914079e /www/mozilla/patches/patch-bn | |
parent | 5d548ee07d3a0a9889987399872be809e6bb561d (diff) | |
download | pkgsrc-799ecdf7b272ebe3711a443711251e0403981140.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/mozilla/patches/patch-bn')
-rw-r--r-- | www/mozilla/patches/patch-bn | 17 |
1 files changed, 17 insertions, 0 deletions
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 |