r46896 - in /packages/gmsh-tetgen/trunk/debian/patches: fix-cmake-hdf5.patch series
trophime-guest at users.alioth.debian.org
trophime-guest at users.alioth.debian.org
Thu Sep 11 08:07:48 UTC 2014
Author: trophime-guest
Date: Thu Sep 11 08:07:48 2014
New Revision: 46896
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46896
Log:
update for hdf5 1.8.13 transition
Added:
packages/gmsh-tetgen/trunk/debian/patches/fix-cmake-hdf5.patch
Modified:
packages/gmsh-tetgen/trunk/debian/patches/series
Added: packages/gmsh-tetgen/trunk/debian/patches/fix-cmake-hdf5.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/gmsh-tetgen/trunk/debian/patches/fix-cmake-hdf5.patch?rev=46896&op=file
==============================================================================
--- packages/gmsh-tetgen/trunk/debian/patches/fix-cmake-hdf5.patch (added)
+++ packages/gmsh-tetgen/trunk/debian/patches/fix-cmake-hdf5.patch Thu Sep 11 08:07:48 2014
@@ -0,0 +1,33 @@
+Description: Add support hdf5 1.8.13
+Author: Gilles Filippini <pini at debian.org>
+Last-Update: 2014-07-25
+
+Index: gmsh-2.8.5+dfsg/CMakeLists.txt
+===================================================================
+--- gmsh-2.8.5+dfsg.orig/CMakeLists.txt
++++ gmsh-2.8.5+dfsg/CMakeLists.txt
+@@ -783,8 +783,10 @@ if(ENABLE_FOURIER_MODEL)
+ endif(ENABLE_FOURIER_MODEL)
+
+ if(ENABLE_MED OR ENABLE_CGNS)
+- find_library(HDF5_LIB hdf5)
+- if(HDF5_LIB)
++ find_package(HDF5)
++ if(HDF5_FOUND)
++ set(HDF5_LIB "${HDF5_C_LIBRARIES}")
++ list(APPEND EXTERNAL_INCLUDES ${HDF5_INCLUDE_DIRS})
+ if(ENABLE_MED)
+ find_library(MED_LIB med)
+ if(MED_LIB)
+@@ -815,9 +817,9 @@ if(ENABLE_MED OR ENABLE_CGNS)
+ endif(ZLIB_FOUND)
+ endif(NOT HAVE_LIBZ)
+ endif(MED_LIB OR CGNS_LIB)
+- else(HDF5_LIB)
++ else(HDF5_FOUND)
+ message(STATUS "HDF5 not found")
+- endif(HDF5_LIB)
++ endif(HDF5_FOUND)
+ endif(ENABLE_MED OR ENABLE_CGNS)
+
+ if(HAVE_SOLVER)
Modified: packages/gmsh-tetgen/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/gmsh-tetgen/trunk/debian/patches/series?rev=46896&op=diff
==============================================================================
--- packages/gmsh-tetgen/trunk/debian/patches/series (original)
+++ packages/gmsh-tetgen/trunk/debian/patches/series Thu Sep 11 08:07:48 2014
@@ -19,3 +19,4 @@
tetgen.patch
#doc.patch
med.patch
+fix-cmake-hdf5.patch
More information about the debian-science-commits
mailing list