diff options
author | he <he@pkgsrc.org> | 2002-12-11 13:35:00 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2002-12-11 13:35:00 +0000 |
commit | 36ed86860fb6d8c55dec562cc09874890f18258a (patch) | |
tree | 322a6bd81afedec1032d406ce9038c18adb27bf6 /www | |
parent | 3faeb39751f87342d8bc2817d20c889c16647bff (diff) | |
download | pkgsrc-36ed86860fb6d8c55dec562cc09874890f18258a.tar.gz |
Allow this to build on 1.5.3, where CODESET isn't defined.
Fixes PR#19325.
Diffstat (limited to 'www')
-rw-r--r-- | www/phoenix/distinfo | 3 | ||||
-rw-r--r-- | www/phoenix/patches/patch-bn | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/www/phoenix/distinfo b/www/phoenix/distinfo index 9ff6562615a..20f45d3d182 100644 --- a/www/phoenix/distinfo +++ b/www/phoenix/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2002/12/10 16:02:39 taya Exp $ +$NetBSD: distinfo,v 1.4 2002/12/11 13:35:00 he Exp $ SHA1 (mozilla-phoenix-0.5.tar.bz2) = cd4fb41baaf6c4a62991c37bd7fe0acf49dca8df Size (mozilla-phoenix-0.5.tar.bz2) = 30378315 bytes @@ -14,3 +14,4 @@ SHA1 (patch-bb) = 8afe75f566565479595f9f54c66f9c7bea300541 SHA1 (patch-be) = 53eba663f1b872f3ad7f689d1655dc66fa50aa01 SHA1 (patch-bj) = c088b47768518d0b5eec44d49a4ce83f51ce090a SHA1 (patch-bm) = 2b905bae67ccd719528c40988784f534b0623fad +SHA1 (patch-bn) = fe5152d4f4bb8bd791249237f0dcd14e11ba27d1 diff --git a/www/phoenix/patches/patch-bn b/www/phoenix/patches/patch-bn new file mode 100644 index 00000000000..453e5175244 --- /dev/null +++ b/www/phoenix/patches/patch-bn @@ -0,0 +1,17 @@ +$NetBSD: patch-bn,v 1.1 2002/12/11 13:35:01 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 |