diff options
-rw-r--r-- | math/diehard/files/patch-cdomso.c | 11 | ||||
-rw-r--r-- | math/diehard/files/patch-diehard.c | 9 |
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; + } |