Date: Wed, 23 Oct 2013 12:06:05 +0000 (UTC) From: Max Brazhnikov <makc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331376 - head/math/scilab/files Message-ID: <201310231206.r9NC65NN056711@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: makc Date: Wed Oct 23 12:06:04 2013 New Revision: 331376 URL: http://svnweb.freebsd.org/changeset/ports/331376 Log: - Fix build after hdf5-18 update Submitted by: truckman via ports maillist Added: head/math/scilab/files/patch-configure (contents, props changed) Added: head/math/scilab/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/scilab/files/patch-configure Wed Oct 23 12:06:04 2013 (r331376) @@ -0,0 +1,20 @@ +--- ./configure.orig 2011-07-20 08:15:42.000000000 +0000 ++++ ./configure 2013-10-23 11:59:48.722499060 +0000 +@@ -12281,14 +12281,15 @@ + + public class conftest { + public static void main(String[] argv) { +- String minVersion="1.8.4"; ++ int minVersion=10804; + int[] vers = new int[3]; + try { H5.H5get_libversion(vers); } + catch (Throwable ex) {System.exit(-1);} + String ver = vers[0] + "."+ vers[1] +"."+vers[2]; ++ int Version = 10000*vers[0] + 100*vers[1] + vers[2]; + + System.out.println(ver); +- if (minVersion.compareTo(ver) != 0) { ++ if (minVersion > Version) { + System.exit(-1); + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310231206.r9NC65NN056711>