svn commit: r308016 - head/math/diehard/files

Pietro Cerutti gahr at FreeBSD.org
Fri Nov 30 15:04:13 UTC 2012


Author: gahr
Date: Fri Nov 30 15:04:11 2012
New Revision: 308016
URL: http://svnweb.freebsd.org/changeset/ports/308016

Log:
  - Fix build with clang
  
  Feature safe:	yes

Added:
  head/math/diehard/files/
  head/math/diehard/files/patch-cdomso.c   (contents, props changed)
  head/math/diehard/files/patch-diehard.c   (contents, props changed)

Added: head/math/diehard/files/patch-cdomso.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/diehard/files/patch-cdomso.c	Fri Nov 30 15:04:11 2012	(r308016)
@@ -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);

Added: head/math/diehard/files/patch-diehard.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/diehard/files/patch-diehard.c	Fri Nov 30 15:04:11 2012	(r308016)
@@ -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;
+ }


More information about the svn-ports-all mailing list