summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libmed/files/libmed-4.0.0-hdf5-1.8-support.patch')
-rw-r--r--sci-libs/libmed/files/libmed-4.0.0-hdf5-1.8-support.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-libs/libmed/files/libmed-4.0.0-hdf5-1.8-support.patch b/sci-libs/libmed/files/libmed-4.0.0-hdf5-1.8-support.patch
new file mode 100644
index 00000000000..72838c3dee9
--- /dev/null
+++ b/sci-libs/libmed/files/libmed-4.0.0-hdf5-1.8-support.patch
@@ -0,0 +1,15 @@
+--- ./config/cmake_files/medMacros.cmake 2019-01-09 17:16:00.951884862 +0100
++++ ./config/cmake_files/medMacros.cmake.new 2019-01-09 17:18:48.753888600 +0100
+@@ -396,10 +396,10 @@
+ ##
+ ## Requires 1.10.x version
+ ##
+- IF (NOT HDF_VERSION_MAJOR_REF EQUAL 1 OR NOT HDF_VERSION_MINOR_REF EQUAL 10 OR NOT HDF_VERSION_RELEASE_REF GREATER 1)
+- MESSAGE(FATAL_ERROR "HDF5 version is ${HDF_VERSION_REF}. Only versions >= 1.10.2 are supported.")
+- ENDIF()
++ #IF (NOT HDF_VERSION_MAJOR_REF EQUAL 1 OR NOT HDF_VERSION_MINOR_REF EQUAL 10 OR NOT HDF_VERSION_RELEASE_REF GREATER 1)
++ # MESSAGE(FATAL_ERROR "HDF5 version is ${HDF_VERSION_REF}. Only versions >= 1.10.2 are supported.")
++ #ENDIF()
+ ##
+ ##
+