mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Fix build with hdf5 1.10.6
Reported by: yuri
This commit is contained in:
parent
37c406915c
commit
2feb2a29bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521744
11
science/rmf/files/patch-src-hdf5_wrapper.cpp
Normal file
11
science/rmf/files/patch-src-hdf5_wrapper.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/hdf5_wrapper.cpp.orig 2019-10-16 16:05:15 UTC
|
||||
+++ src/hdf5_wrapper.cpp
|
||||
@@ -138,7 +138,7 @@ hid_t get_parameters() {
|
||||
RMF_HDF5_CALL(H5Pset_cache(plist, 0, 10000, 10000000, 0.0));
|
||||
#if defined(H5_VERS_MAJOR) && H5_VERS_MAJOR >= 1 && H5_VERS_MINOR >= 8 && \
|
||||
H5_VERS_RELEASE >= 6
|
||||
- RMF_HDF5_CALL(H5Pset_libver_bounds(plist, H5F_LIBVER_18, H5F_LIBVER_LATEST));
|
||||
+ RMF_HDF5_CALL(H5Pset_libver_bounds(plist, H5F_LIBVER_V18, H5F_LIBVER_LATEST));
|
||||
#endif
|
||||
return plist;
|
||||
}
|
Loading…
Reference in New Issue
Block a user