diff options
author | martin <martin> | 2005-06-22 22:05:34 +0000 |
---|---|---|
committer | martin <martin> | 2005-06-22 22:05:34 +0000 |
commit | 5b879f7811618f871a45f36fd98d1673eca80a01 (patch) | |
tree | 5cdd53ad3265071350a6557d43808ccbce3d8334 /www/firefox/patches/patch-ck | |
parent | b37ffe6f736f30735637c424bd75a5a5a399552d (diff) | |
download | pkgsrc-5b879f7811618f871a45f36fd98d1673eca80a01.tar.gz |
Re-instantiate the NAN/INFINITY fixes, this time in a way that works on
older C environments as well.
Diffstat (limited to 'www/firefox/patches/patch-ck')
-rw-r--r-- | www/firefox/patches/patch-ck | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-ck b/www/firefox/patches/patch-ck new file mode 100644 index 00000000000..deef2325ac1 --- /dev/null +++ b/www/firefox/patches/patch-ck @@ -0,0 +1,19 @@ +$NetBSD: patch-ck,v 1.3 2005/06/22 22:05:34 martin Exp $ + +--- extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp.orig 2003-06-17 00:31:17.000000000 +0200 ++++ extensions/transformiix/source/xslt/functions/txFormatNumberFunctionCall.cpp 2005-06-16 10:06:22.000000000 +0200 +@@ -112,12 +112,12 @@ + return aContext->recycler()->getStringResult(format->mNaN, aResult); + } + +- if (value == Double::POSITIVE_INFINITY) { ++ if (value == Double::PositiveInfinity()) { + return aContext->recycler()->getStringResult(format->mInfinity, + aResult); + } + +- if (value == Double::NEGATIVE_INFINITY) { ++ if (value == Double::NegativeInfinity()) { + nsAutoString res; + res.Append(format->mMinusSign); + res.Append(format->mInfinity); |