svn commit: r320725 - head/science/medit/files

Thierry Thomas thierry at FreeBSD.org
Wed Jun 12 20:03:26 UTC 2013


Author: thierry
Date: Wed Jun 12 20:03:25 2013
New Revision: 320725
URL: http://svnweb.freebsd.org/changeset/ports/320725

Log:
  Fix build with clang.

Added:
  head/science/medit/files/patch-sources_ellipse.c   (contents, props changed)

Added: head/science/medit/files/patch-sources_ellipse.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/medit/files/patch-sources_ellipse.c	Wed Jun 12 20:03:25 2013	(r320725)
@@ -0,0 +1,20 @@
+--- sources/ellipse.c.orig	2012-02-04 12:58:25.000000000 +0100
++++ sources/ellipse.c	2013-06-12 19:41:30.000000000 +0200
+@@ -278,7 +278,7 @@
+       m[0] = ps->m[0];
+       m[1] = ps->m[1];
+       m[2] = ps->m[2];
+-      if ( !eigen2(m,lambda,vp) ) return;
++      if ( !eigen2(m,lambda,vp) ) return(0);
+ 
+       /* consider eigenvalues as sizes */
+       dd1 = 1.0 / sqrt(fabs(lambda[0]));
+@@ -306,7 +306,7 @@
+       m[0] = ps->m[0];
+       m[1] = ps->m[1];
+       m[2] = ps->m[2];
+-      if ( !eigen2(m,lambda,vp) ) return;
++      if ( !eigen2(m,lambda,vp) ) return(0);
+ 
+       /* consider eigenvalues as sizes */
+       dd1 = 1.0 / sqrt(fabs(lambda[0]));


More information about the svn-ports-all mailing list