mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
Changelog: http://www.scilab.org/content/download/1136/11155/file/changes5.2-5.2.1.pdf - FreeBSD changes: * Remove the local patch to work with jgraphx (included upstream) * Fix the library version number in the matio dependency * Add a patch to compile properly with hdf-java (obtained from Debian) * Move saxon dependency into GUI section to allow builds without Java (by marc@, Chris Rees <utisoft@gmail.com>) PR: ports/144391 Submitted by: Rob Farmer <rfarmer@predatorlabs.net> Approved by: maintainer Feature safe: yes
12 lines
672 B
Java
12 lines
672 B
Java
--- modules/hdf5/src/java/org/scilab/modules/hdf5/read/H5Read.java.orig 2010-03-01 00:10:54.000000000 -0800
|
|
+++ modules/hdf5/src/java/org/scilab/modules/hdf5/read/H5Read.java 2010-03-01 00:11:38.000000000 -0800
|
|
@@ -53,7 +53,8 @@
|
|
int nb_objs = H5.H5Gn_members(fileId, groupName);
|
|
String[] allObjectsName = new String[nb_objs];
|
|
int[] allObjectsType = new int[nb_objs];
|
|
- H5.H5Gget_obj_info_all(fileId, groupName, allObjectsName, allObjectsType);
|
|
+ long[] refs = new long[nb_objs];
|
|
+ H5.H5Gget_obj_info_all(fileId, groupName, allObjectsName, allObjectsType, refs);
|
|
|
|
for (int i = 0 ; i < nb_objs ; ++i) {
|
|
if (allObjectsType[i] == HDF5Constants.H5G_DATASET) {
|