aboutsummaryrefslogtreecommitdiff
path: root/math/R/files
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-07-03 16:45:58 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-07-03 16:45:58 +0000
commit75da0f33e9eeaaa3cdfbb3d320fece424418aa51 (patch)
treeb7ad624c440dfa62499d1790fa38b7a82766afa1 /math/R/files
parenta683b2c98d5081a050ccccf0d43641899e88d611 (diff)
downloadports-75da0f33e9eeaaa3cdfbb3d320fece424418aa51.tar.gz
ports-75da0f33e9eeaaa3cdfbb3d320fece424418aa51.zip
Notes
Diffstat (limited to 'math/R/files')
-rw-r--r--math/R/files/patch-alloca55
-rw-r--r--math/R/files/patch-d-p-q-r-tests22
2 files changed, 22 insertions, 55 deletions
diff --git a/math/R/files/patch-alloca b/math/R/files/patch-alloca
deleted file mode 100644
index 2089b5fdd3dd..000000000000
--- a/math/R/files/patch-alloca
+++ /dev/null
@@ -1,55 +0,0 @@
---- src/library/grDevices/src/devPS.c.orig 2005-04-18 23:30:30.000000000 +0200
-+++ src/library/grDevices/src/devPS.c 2005-06-08 15:35:30.000000000 +0200
-@@ -47,7 +47,7 @@
-
- #ifdef HAVE_ALLOCA_H
- #include <alloca.h>
--#else
-+#elif !defined (__FreeBSD__)
- extern char *alloca(size_t);
- #endif
-
---- src/main/errors.c.orig 2005-04-18 23:30:00.000000000 +0200
-+++ src/main/errors.c 2005-06-08 15:35:30.000000000 +0200
-@@ -39,7 +39,7 @@
- #ifdef HAVE_ALLOCA_H
- #include <alloca.h>
- #endif
--#if !HAVE_DECL_ALLOCA
-+#if !HAVE_DECL_ALLOCA && !defined(__FreeBSD__)
- extern char *alloca(size_t);
- #endif
-
---- src/main/pcre.c.orig 2005-04-18 23:30:01.000000000 +0200
-+++ src/main/pcre.c 2005-06-08 15:35:31.000000000 +0200
-@@ -37,7 +37,7 @@
- #ifdef HAVE_ALLOCA_H
- #include <alloca.h>
- #endif
--#if !HAVE_DECL_ALLOCA
-+#if !HAVE_DECL_ALLOCA && !defined(__FreeBSD__)
- extern char *alloca(size_t);
- #endif
-
---- src/main/util.c.orig 2005-04-18 23:30:00.000000000 +0200
-+++ src/main/util.c 2005-06-08 15:35:30.000000000 +0200
-@@ -41,7 +41,7 @@
- #ifdef HAVE_ALLOCA_H
- #include <alloca.h>
- #endif
--#if !HAVE_DECL_ALLOCA
-+#if !HAVE_DECL_ALLOCA && !defined(__FreeBSD__)
- extern char *alloca(size_t);
- #endif
-
---- src/main/vfonts.c.orig 2005-04-18 23:30:01.000000000 +0200
-+++ src/main/vfonts.c 2005-06-08 15:35:30.000000000 +0200
-@@ -32,7 +32,7 @@
- #ifdef HAVE_ALLOCA_H
- #include <alloca.h>
- #endif
--#if !HAVE_DECL_ALLOCA
-+#if !HAVE_DECL_ALLOCA && !defined(__FreeBSD__)
- extern char *alloca(size_t);
- #endif
-
diff --git a/math/R/files/patch-d-p-q-r-tests b/math/R/files/patch-d-p-q-r-tests
new file mode 100644
index 000000000000..87b887ff006a
--- /dev/null
+++ b/math/R/files/patch-d-p-q-r-tests
@@ -0,0 +1,22 @@
+--- tests/d-p-q-r-tests.R 2005-06-12 10:47:42.000000000 +0200
++++ tests/d-p-q-r-tests.R 2005-06-22 17:45:06.000000000 +0200
+@@ -503,7 +503,7 @@
+ pf(x, 5, Inf, ncp=0)
+ pf(x, 5, 1e6, ncp=1)
+ pf(x, 5, 1e7, ncp=1)
+-all.equal(pf(x, 5, 1e8, ncp=1), tol = 5e-9,
++all.equal(pf(x, 5, 1e8, ncp=1), tol = 1e-6,
+ c(0.0659330751, 0.4708802996, 0.9788764591))
+ pf(x, 5, Inf, ncp=1)
+
+--- tests/d-p-q-r-tests.Rout.save 2005-06-12 10:47:41.000000000 +0200
++++ tests/d-p-q-r-tests.Rout.save 2005-06-22 17:45:06.000000000 +0200
+@@ -1013,7 +1013,7 @@
+ [1] 0.065933194 0.470879987 0.978875867
+ > pf(x, 5, 1e7, ncp=1)
+ [1] 0.06593309 0.47088028 0.97887641
+-> all.equal(pf(x, 5, 1e8, ncp=1), tol = 5e-9,
++> all.equal(pf(x, 5, 1e8, ncp=1), tol = 1e-6,
+ + c(0.0659330751, 0.4708802996, 0.9788764591))
+ [1] TRUE
+ > pf(x, 5, Inf, ncp=1)