kst/kst-2.0.8.20210516git-libhdf5-1.12.0.patch

12 lines
540 B
Diff

--- kst-plot-2.0.8.20210516git/src/datasources/hdf5/hdf5.cpp.orig 2021-05-16 19:33:50.708519324 +0200
+++ kst-plot-2.0.8.20210516git/src/datasources/hdf5/hdf5.cpp 2021-05-16 19:35:21.563204551 +0200
@@ -308,7 +308,7 @@
return 0;
}
- status = H5Oget_info_by_name(id, name, &infobuf, H5P_DEFAULT);
+ status = H5Oget_info_by_name(id, name, &infobuf, H5P_DEFAULT, H5O_INFO_BASIC);
if(status == 0){
if(infobuf.type == H5O_TYPE_DATASET){
H5::DataSet dataset = h5Source->_hdfFile->openDataSet(name);