Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 15:04:11 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308016 - head/math/diehard/files
Message-ID:  <201211301504.qAUF4BdL004666@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
+ }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211301504.qAUF4BdL004666>