From owner-svn-ports-all@FreeBSD.ORG Fri Nov 30 15:04:13 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7361B8B3; Fri, 30 Nov 2012 15:04:13 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 57D308FC15; Fri, 30 Nov 2012 15:04:13 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAUF4Bkp004668; Fri, 30 Nov 2012 15:04:11 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAUF4BdL004666; Fri, 30 Nov 2012 15:04:11 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201211301504.qAUF4BdL004666@svn.freebsd.org> From: Pietro Cerutti Date: Fri, 30 Nov 2012 15:04:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308016 - head/math/diehard/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2012 15:04:13 -0000 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; + }