diff options
Diffstat (limited to 'math/R/patches/patch-src_nmath_pnbeta.c')
-rw-r--r-- | math/R/patches/patch-src_nmath_pnbeta.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/math/R/patches/patch-src_nmath_pnbeta.c b/math/R/patches/patch-src_nmath_pnbeta.c deleted file mode 100644 index 6284db756fb..00000000000 --- a/math/R/patches/patch-src_nmath_pnbeta.c +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-src_nmath_pnbeta.c,v 1.2 2013/12/15 19:58:11 asau Exp $ - -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 -@@ -92,7 +92,7 @@ pnbeta2(double x, double o_x, double a, - - /* 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__) && ! defined(__FreeBSD__) - return (double) (log_p ? logl(ans) : ans); - #else - return log_p ? log(ans) : ans; |