diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/mozilla/distinfo | 3 | ||||
-rw-r--r-- | www/mozilla/patches/patch-cd | 37 |
2 files changed, 39 insertions, 1 deletions
diff --git a/www/mozilla/distinfo b/www/mozilla/distinfo index 5a2fbad3277..e1fa7ec64e0 100644 --- a/www/mozilla/distinfo +++ b/www/mozilla/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.76 2005/05/15 02:58:05 taya Exp $ +$NetBSD: distinfo,v 1.77 2005/05/31 09:21:51 martin Exp $ SHA1 (mozilla-1.7.8-source.tar.bz2) = ca682415a9ba99a3c4bd55636e1f9fda53a2545f RMD160 (mozilla-1.7.8-source.tar.bz2) = 3e91b559c2ab76ba6dc1f99fca57b921660ab673 @@ -36,3 +36,4 @@ SHA1 (patch-bz) = 6f854d74a9d1d1174ce8eff7d65f8024a7da4711 SHA1 (patch-ca) = 479ef14631ae019ae5ca1c08a2f786294f3e972b SHA1 (patch-cb) = fd0f033d63be066ce5c47057d72c48a085718908 SHA1 (patch-cc) = cb08d4b7330c9e471d172c11772c840e613ceb76 +SHA1 (patch-cd) = bc93de493522d6685b983f961513ff97d0a92266 diff --git a/www/mozilla/patches/patch-cd b/www/mozilla/patches/patch-cd new file mode 100644 index 00000000000..cef9da8640c --- /dev/null +++ b/www/mozilla/patches/patch-cd @@ -0,0 +1,37 @@ +$NetBSD: patch-cd,v 1.1 2005/05/31 09:21:51 martin Exp $ + +--- extensions/transformiix/source/base/Double.cpp.orig 2004-01-15 22:23:18.000000000 +0100 ++++ extensions/transformiix/source/base/Double.cpp 2005-05-30 15:51:38.000000000 +0200 +@@ -48,6 +48,24 @@ + * Utility class for doubles + */ + ++/* this should be some other predicate - like "has working math support" */ ++#if defined(__NetBSD__) || (defined(__sun__) && defined(_LP64)) ++MBool Double::isInfinite(double aDbl) ++{ ++ return isinf(aDbl); ++} ++ ++MBool Double::isNaN(double aDbl) ++{ ++ return isnan(aDbl); ++} ++ ++MBool Double::isNeg(double aDbl) ++{ ++ return aDbl<0.0; ++} ++#else ++ + //A trick to handle IEEE floating point exceptions on FreeBSD - E.D. + #ifdef __FreeBSD__ + #include <ieeefp.h> +@@ -157,6 +175,7 @@ + { + return (TX_DOUBLE_HI32(aDbl) & TX_DOUBLE_HI32_SIGNBIT) != 0; + } ++#endif + + /* + * Converts the given String to a double, if the String value does not |