aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/vtk/fix-using-hdf5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/vtk/fix-using-hdf5.patch')
-rw-r--r--vcpkg/ports/vtk/fix-using-hdf5.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/vtk/fix-using-hdf5.patch b/vcpkg/ports/vtk/fix-using-hdf5.patch
new file mode 100644
index 0000000..834ab15
--- /dev/null
+++ b/vcpkg/ports/vtk/fix-using-hdf5.patch
@@ -0,0 +1,22 @@
+diff --git a/ThirdParty/h5part/vtkh5part/src/H5Part.c b/ThirdParty/h5part/vtkh5part/src/H5Part.c
+index 228d246..41af04d 100644
+--- a/ThirdParty/h5part/vtkh5part/src/H5Part.c
++++ b/ThirdParty/h5part/vtkh5part/src/H5Part.c
+@@ -2092,7 +2092,7 @@ _H5Part_iteration_operator2 (
+ case H5L_TYPE_HARD: {
+
+ H5O_info_t objinfo;
+- if( H5Oget_info_by_name( group_id, member_name, &objinfo, H5P_DEFAULT ) < 0 ) {
++ if( H5Oget_info_by_name1( group_id, member_name, &objinfo, H5P_DEFAULT ) < 0 ) {
+ return (herr_t)HANDLE_H5G_GET_OBJINFO_ERR ( member_name );
+ }
+
+@@ -2142,7 +2142,7 @@ _H5Part_iteration_operator2 (
+ if ( obj_id < 0 ) {
+ return (herr_t)HANDLE_H5G_OPEN_ERR ( member_name );
+ }
+- else if ( H5Oget_info ( obj_id, &objinfo ) < 0 ) {
++ else if ( H5Oget_info1 ( obj_id, &objinfo ) < 0 ) {
+ return (herr_t)HANDLE_H5G_GET_OBJINFO_ERR ( member_name );
+ }
+ else {