From a7d93cac8117ff4b21370b6c18cbdfe3dea29871 Mon Sep 17 00:00:00 2001 From: marino Date: Sun, 18 Dec 2011 02:50:07 +0000 Subject: math/R: Expand NetBSD floorl patch to DragonFly DragonFly has the same math limitations as NetBSD, so it needs the same fix. --- math/R/distinfo | 4 ++-- math/R/patches/patch-src_main_format.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'math/R') diff --git a/math/R/distinfo b/math/R/distinfo index 6ccfb1e644e..d1ab81043fb 100644 --- a/math/R/distinfo +++ b/math/R/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.45 2011/11/20 04:57:03 markd Exp $ +$NetBSD: distinfo,v 1.46 2011/12/18 02:50:07 marino Exp $ SHA1 (R-2.14.0.tar.gz) = 0f46bf75a7c150350b1142c29a98e7994d2b4bef RMD160 (R-2.14.0.tar.gz) = f2f2805c8660d58050be1d11abf376843dbb40ea Size (R-2.14.0.tar.gz) = 22675106 bytes SHA1 (patch-ac) = ea885d8391ec06a7cc7fcbbadce134c794b7a47c SHA1 (patch-ad) = 43ae23bd0815986c3bac661bd3354cd96b3e54e4 -SHA1 (patch-src_main_format.c) = 79bd8eb005412359b07b6e1195c1f9d1f00ac008 +SHA1 (patch-src_main_format.c) = f337358361cd81547305d61be4682c4f73b6531a diff --git a/math/R/patches/patch-src_main_format.c b/math/R/patches/patch-src_main_format.c index a369cbc6794..83a39050a16 100644 --- a/math/R/patches/patch-src_main_format.c +++ b/math/R/patches/patch-src_main_format.c @@ -1,7 +1,7 @@ -$NetBSD: patch-src_main_format.c,v 1.1 2011/11/20 04:57:03 markd Exp $ +$NetBSD: patch-src_main_format.c,v 1.2 2011/12/18 02:50:08 marino Exp $ NetBSD does not have rintl() or floorl() so use the OpenBSD implementation -of rintl() in that case. +of rintl() in that case. The same case exists for DragonFly. --- src/main/format.c.orig 2011-10-02 22:02:34.000000000 +0000 +++ src/main/format.c @@ -9,7 +9,7 @@ of rintl() in that case. # define R_nearbyintl rintl # else # define R_nearbyintl private_nearbyintl -+# ifndef __NetBSD__ ++# if !defined(__NetBSD__) && !defined(__DragonFly__) long double private_nearbyintl(long double x) { long double x1; -- cgit v1.2.3