aboutsummaryrefslogtreecommitdiff
path: root/math/diehard
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2012-11-30 15:04:11 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2012-11-30 15:04:11 +0000
commit88ea7f34915a9b6d346cf5f3a7c9dbfe9ae1be25 (patch)
treeb8e4b1588088e4aa948ea16c572e2edbfad5a3fa /math/diehard
parent6169f243f49fd0b05fcb7b062602f76440dac520 (diff)
downloadports-88ea7f34915a9b6d346cf5f3a7c9dbfe9ae1be25.tar.gz
ports-88ea7f34915a9b6d346cf5f3a7c9dbfe9ae1be25.zip
Notes
Diffstat (limited to 'math/diehard')
-rw-r--r--math/diehard/files/patch-cdomso.c11
-rw-r--r--math/diehard/files/patch-diehard.c9
2 files changed, 20 insertions, 0 deletions
diff --git a/math/diehard/files/patch-cdomso.c b/math/diehard/files/patch-cdomso.c
new file mode 100644
index 000000000000..3b9367e182fa
--- /dev/null
+++ b/math/diehard/files/patch-cdomso.c
@@ -0,0 +1,11 @@
+--- cdomso.c.orig 2012-11-30 16:01:24.000000000 +0100
++++ cdomso.c 2012-11-30 16:02:15.000000000 +0100
+@@ -89,7 +89,7 @@
+ }
+
+
+-real monky_stat(char *filename, char *test, int no_tests)
++void monky_stat(char *filename, char *test, int no_tests)
+ {
+ const real bits_pw=20, mean=pow(2, bits_pw)*exp(-2);
+ const counter dim=pow(2, bits_pw-5);
diff --git a/math/diehard/files/patch-diehard.c b/math/diehard/files/patch-diehard.c
new file mode 100644
index 000000000000..58245a247bc3
--- /dev/null
+++ b/math/diehard/files/patch-diehard.c
@@ -0,0 +1,9 @@
+--- diehard.c.orig 2012-11-30 16:00:43.000000000 +0100
++++ diehard.c 2012-11-30 16:00:59.000000000 +0100
+@@ -153,5 +153,5 @@
+ {
+ diehard();
+
+- return;
++ return 0;
+ }