diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-01-01 16:31:57 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2020-01-01 16:31:57 +0000 |
commit | 2feb2a29bf106da7c2c2eecc3b9d3d3a327c12c6 (patch) | |
tree | b36c568c096e93bac3b19c00b07e91fb6f7d4cbe | |
parent | 37c406915cd31dafffd5cbbc3eecaddc43dbdad8 (diff) | |
download | ports-2feb2a29bf106da7c2c2eecc3b9d3d3a327c12c6.tar.gz ports-2feb2a29bf106da7c2c2eecc3b9d3d3a327c12c6.zip |
Fix build with hdf5 1.10.6
Reported by: yuri
Notes
Notes:
svn path=/head/; revision=521744
-rw-r--r-- | science/rmf/files/patch-src-hdf5_wrapper.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/science/rmf/files/patch-src-hdf5_wrapper.cpp b/science/rmf/files/patch-src-hdf5_wrapper.cpp new file mode 100644 index 000000000000..0b784ecb1081 --- /dev/null +++ b/science/rmf/files/patch-src-hdf5_wrapper.cpp @@ -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; + } |