svn commit: r303077 - head/math/emc2/files

Baptiste Daroussin bapt at FreeBSD.org
Fri Aug 24 11:44:10 UTC 2012


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 



More information about the svn-ports-head mailing list