From owner-svn-ports-head@FreeBSD.ORG Fri Aug 24 11:44:10 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB70F106567A; Fri, 24 Aug 2012 11:44:10 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B6DD88FC0C; Fri, 24 Aug 2012 11:44:10 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q7OBiAnN030441; Fri, 24 Aug 2012 11:44:10 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q7OBiAj0030440; Fri, 24 Aug 2012 11:44:10 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201208241144.q7OBiAj0030440@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 24 Aug 2012 11:44:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303077 - head/math/emc2/files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 11:44:10 -0000 Author: bapt Date: Fri Aug 24 11:44:10 2012 New Revision: 303077 URL: http://svn.freebsd.org/changeset/ports/303077 Log: Fix build with clang Added: head/math/emc2/files/patch-libemc2_4.c (contents, props changed) Added: head/math/emc2/files/patch-libemc2_4.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/emc2/files/patch-libemc2_4.c Fri Aug 24 11:44:10 2012 (r303077) @@ -0,0 +1,11 @@ +--- ./libemc2_4.c.orig 1999-11-09 15:58:26.000000000 +0100 ++++ ./libemc2_4.c 2012-08-24 13:40:38.364914711 +0200 +@@ -2019,7 +2019,7 @@ + libre = alloc_(); + cdesig_1.adr = libre; + if (cdesig_1.adr == 0) { +- return ; ++ return 0; + } + /* Computing MAX */ + r__1 = dabs(res[1]), r__2 = dabs(res[2]), r__1 = max(r__1,r__2), r__2