pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/R FreeBSD 9 lacks the same set of functions as Ne...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cf0d4e9d4523
branches: trunk
changeset: 627818:cf0d4e9d4523
user: asau <asau%pkgsrc.org@localhost>
date: Sun Dec 15 19:58:11 2013 +0000
description:
FreeBSD 9 lacks the same set of functions as NetBSD 6.
diffstat:
math/R/distinfo | 8 ++++----
math/R/patches/patch-src_nmath_dnbeta.c | 6 +++---
math/R/patches/patch-src_nmath_pnbeta.c | 6 +++---
math/R/patches/patch-src_nmath_pnchisq.c | 6 +++---
4 files changed, 13 insertions(+), 13 deletions(-)
diffs (82 lines):
diff -r 73636628cf62 -r cf0d4e9d4523 math/R/distinfo
--- a/math/R/distinfo Sun Dec 15 19:51:57 2013 +0000
+++ b/math/R/distinfo Sun Dec 15 19:58:11 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.53 2013/08/19 13:30:30 jperkin Exp $
+$NetBSD: distinfo,v 1.54 2013/12/15 19:58:11 asau Exp $
SHA1 (R-3.0.1.tar.gz) = 5cc65476837926fdf04105954ea94efa53ac85ce
RMD160 (R-3.0.1.tar.gz) = 09910626891c2962b5c05d204b14d59444da0c3b
@@ -9,6 +9,6 @@
SHA1 (patch-doc_manual_R-intro.texi) = 592dbbe5e048f5bcbbb94fa3aec32ff2f0e321ba
SHA1 (patch-src_library_stats_src_cov.c) = 23e452472506483ffc33a9c6629274b121cfd161
SHA1 (patch-src_main_format.c) = f03012b8fbab34ead3f35143fe782ab7c7b29768
-SHA1 (patch-src_nmath_dnbeta.c) = f14c188a4b74a38cec9a62f5eb2ba1ab72ad52d3
-SHA1 (patch-src_nmath_pnbeta.c) = 4a23cb223408d2bb73c6dc42d50659f3589be3ec
-SHA1 (patch-src_nmath_pnchisq.c) = fdf82ef6967b12eb9f44e246bb8660c9a2b55fd3
+SHA1 (patch-src_nmath_dnbeta.c) = 4711d17404352c9c190ca037a01b1eec1236cebc
+SHA1 (patch-src_nmath_pnbeta.c) = cb2de10d62abac32d6a1f40cdbb4de95c0462eed
+SHA1 (patch-src_nmath_pnchisq.c) = 312a2c726f98a8f4d6356b459086f20c55de5f1f
diff -r 73636628cf62 -r cf0d4e9d4523 math/R/patches/patch-src_nmath_dnbeta.c
--- a/math/R/patches/patch-src_nmath_dnbeta.c Sun Dec 15 19:51:57 2013 +0000
+++ b/math/R/patches/patch-src_nmath_dnbeta.c Sun Dec 15 19:58:11 2013 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-src_nmath_dnbeta.c,v 1.1 2013/08/13 19:53:30 markd Exp $
+$NetBSD: patch-src_nmath_dnbeta.c,v 1.2 2013/12/15 19:58:11 asau Exp $
-No logl() in NetBSD 6.x
+No logl() in NetBSD 6.x and FreeBSD 9.
--- src/nmath/dnbeta.c.orig 2013-03-05 23:02:41.000000000 +0000
+++ src/nmath/dnbeta.c
@@ -9,7 +9,7 @@
} while (term > sum * eps);
-#ifdef HAVE_LONG_DOUBLE
-+#if defined(HAVE_LONG_DOUBLE) && ! defined(__NetBSD__)
++#if defined(HAVE_LONG_DOUBLE) && ! defined(__NetBSD__) && ! defined(__FreeBSD__)
return R_D_exp((double)(p_k + logl(sum)));
#else
return R_D_exp((double)(p_k + log(sum)));
diff -r 73636628cf62 -r cf0d4e9d4523 math/R/patches/patch-src_nmath_pnbeta.c
--- a/math/R/patches/patch-src_nmath_pnbeta.c Sun Dec 15 19:51:57 2013 +0000
+++ b/math/R/patches/patch-src_nmath_pnbeta.c Sun Dec 15 19:58:11 2013 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-src_nmath_pnbeta.c,v 1.1 2013/08/13 19:53:30 markd Exp $
+$NetBSD: patch-src_nmath_pnbeta.c,v 1.2 2013/12/15 19:58:11 asau Exp $
-No logl() in NetBSD 6.x
+No logl() in NetBSD 6.x and FreeBSD 9.
--- src/nmath/pnbeta.c.orig 2013-03-05 23:02:41.000000000 +0000
+++ src/nmath/pnbeta.c
@@ -9,7 +9,7 @@
/* return R_DT_val(ans), but we want to warn about cancellation here */
if (lower_tail)
-#ifdef HAVE_LONG_DOUBLE
-+#if defined(HAVE_LONG_DOUBLE) && ! defined(__NetBSD__)
++#if defined(HAVE_LONG_DOUBLE) && ! defined(__NetBSD__) && ! defined(__FreeBSD__)
return (double) (log_p ? logl(ans) : ans);
#else
return log_p ? log(ans) : ans;
diff -r 73636628cf62 -r cf0d4e9d4523 math/R/patches/patch-src_nmath_pnchisq.c
--- a/math/R/patches/patch-src_nmath_pnchisq.c Sun Dec 15 19:51:57 2013 +0000
+++ b/math/R/patches/patch-src_nmath_pnchisq.c Sun Dec 15 19:58:11 2013 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-src_nmath_pnchisq.c,v 1.1 2013/08/13 19:53:30 markd Exp $
+$NetBSD: patch-src_nmath_pnchisq.c,v 1.2 2013/12/15 19:58:11 asau Exp $
-No expl() in NetBSD 6.x.
+No expl() in NetBSD 6.x and FreeBSD 9.
--- src/nmath/pnchisq.c.orig 2013-03-05 23:02:41.000000000 +0000
+++ src/nmath/pnchisq.c
@@ -8,7 +8,7 @@
*/
#ifdef HAVE_LONG_DOUBLE
-+#ifdef __NetBSD__
++#if defined(__NetBSD__) || defined(__FreeBSD__)
+# define EXP exp
+#else
# define EXP expl
Home |
Main Index |
Thread Index |
Old Index