diff options
| author | Pietro Cerutti <gahr@FreeBSD.org> | 2012-11-30 15:04:11 +0000 | 
|---|---|---|
| committer | Pietro Cerutti <gahr@FreeBSD.org> | 2012-11-30 15:04:11 +0000 | 
| commit | 88ea7f34915a9b6d346cf5f3a7c9dbfe9ae1be25 (patch) | |
| tree | b8e4b1588088e4aa948ea16c572e2edbfad5a3fa /math | |
| parent | - Fix build with clang (diff) | |
- Fix build with clang
Feature safe:	yes
Diffstat (limited to 'math')
| -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; + }  | 
