pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/R Patch from R's svn trunk. Should fix build on ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ed6e66fa7523
branches: trunk
changeset: 508822:ed6e66fa7523
user: markd <markd%pkgsrc.org@localhost>
date: Sun Feb 26 11:58:25 2006 +0000
description:
Patch from R's svn trunk. Should fix build on NetBSD 1.6.2.
diffstat:
math/R/distinfo | 3 ++-
math/R/patches/patch-ae | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletions(-)
diffs (43 lines):
diff -r ba89b300d031 -r ed6e66fa7523 math/R/distinfo
--- a/math/R/distinfo Sun Feb 26 11:56:40 2006 +0000
+++ b/math/R/distinfo Sun Feb 26 11:58:25 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.30 2006/02/04 22:25:06 markd Exp $
+$NetBSD: distinfo,v 1.31 2006/02/26 11:58:25 markd Exp $
SHA1 (R-2.2.1.tar.gz) = 537e0b89b8de55c1156474c76c19c1fcc210f756
RMD160 (R-2.2.1.tar.gz) = b63b6c5ef1db27a879783460b0ecb6de0d4bba18
@@ -7,4 +7,5 @@
SHA1 (patch-ab) = b724b549cd9920865c4d4ae60c71dff48c4c0c06
SHA1 (patch-ac) = 95888e1a7bbd17a7c258973281adf9c702305673
SHA1 (patch-ad) = 83c9b046822b1d350daec8739ca4ee2a6b7e1978
+SHA1 (patch-ae) = 4193b3f975bd55ce1d8f720878db31b67ba2d02c
SHA1 (patch-at) = d972e1072a7f6a30b5fbc2e5fa076bc5bdec5952
diff -r ba89b300d031 -r ed6e66fa7523 math/R/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/R/patches/patch-ae Sun Feb 26 11:58:25 2006 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-ae,v 1.13 2006/02/26 11:58:25 markd Exp $
+
+--- src/nmath/log1p.c.orig 2005-12-06 12:00:17.000000000 +1300
++++ src/nmath/log1p.c
+@@ -98,16 +98,18 @@ double log1p(double x)
+ -.33410026677731010351377066666666e-30,
+ +.63533936180236187354180266666666e-31,
+ };
+- const static double xmin = -1 + sqrt(DBL_EPSILON);/*was sqrt(d1mach(4)); */
+
+ #ifdef NOMORE_FOR_THREADS
+ static int nlnrel = 0;
++ static double xmin = 0.0;
+
++ if (xmin == 0.0) xmin = -1 + sqrt(DBL_EPSILON);/*was sqrt(d1mach(4)); */
+ if (nlnrel == 0) {/* initialize chebychev coefficients */
+ nlnrel = chebyshev_init(alnrcs, 43, DBL_EPSILON/20);/*was .1*d1mach(3)*/
+ }
+ #else
+ # define nlnrel 22
++ const static double xmin = -0.999999985;
+ /* 22: for IEEE double precision where DBL_EPSILON = 2.22044604925031e-16 */
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index