diff options
Diffstat (limited to 'community/scilab/configure-hdf5-vercheck.patch')
-rw-r--r-- | community/scilab/configure-hdf5-vercheck.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/scilab/configure-hdf5-vercheck.patch b/community/scilab/configure-hdf5-vercheck.patch new file mode 100644 index 000000000..0f1d875f3 --- /dev/null +++ b/community/scilab/configure-hdf5-vercheck.patch @@ -0,0 +1,24 @@ +--- configure.bak 2011-07-10 11:28:35.833136771 +0200 ++++ configure 2011-07-10 11:28:45.023136232 +0200 +@@ -19495,21 +19495,6 @@ + // #line 19495 "configure" + import ncsa.hdf.hdf5lib.H5; + +-public class conftest { +- public static void main(String[] argv) { +- String minVersion="1.8.4"; +- int[] vers = new int[3]; +- try { H5.H5get_libversion(vers); } +- catch (Throwable ex) {System.exit(-1);} +- String ver = vers[0] + "."+ vers[1] +"."+vers[2]; +- +- System.out.println(ver); +- if (minVersion.compareTo(ver) > 0) { +- System.exit(-1); +- } +- +- } +-} + EOF + + CLASSPATH=$ac_java_classpath |