[opengm] 04/08: add patch fixing detection of HDF5 on Debian

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Nov 1 17:14:54 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository opengm.

commit 52242ef49bf6c6cc04709811cd522ed5c45c0222
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Oct 20 20:21:08 2015 +0100

    add patch fixing detection of HDF5 on Debian
---
 debian/patches/fix-hdf5-detection.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/fix-hdf5-detection.patch b/debian/patches/fix-hdf5-detection.patch
new file mode 100644
index 0000000..add6268
--- /dev/null
+++ b/debian/patches/fix-hdf5-detection.patch
@@ -0,0 +1,25 @@
+From: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Date: Fri, 23 Oct 2015 09:54:50 +0100
+Subject: Fix HDF5 detection in CMake find module
+
+---
+ cmake/modules/FindHDF5.cmake | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/cmake/modules/FindHDF5.cmake b/cmake/modules/FindHDF5.cmake
+index e311912..9cf6031 100644
+--- a/cmake/modules/FindHDF5.cmake
++++ b/cmake/modules/FindHDF5.cmake
+@@ -1,9 +1,9 @@
+ # - Find HDF5, a library for reading and writing self describing array data.
+ #
+-FIND_PATH(HDF5_INCLUDE_DIR hdf5.h)
++FIND_PATH(HDF5_INCLUDE_DIR hdf5.h HINTS /usr/include/hdf5/serial)
+ 
+-FIND_LIBRARY(HDF5_CORE_LIBRARY NAMES hdf5dll hdf5  )
+-FIND_LIBRARY(HDF5_HL_LIBRARY NAMES hdf5_hldll hdf5_hl  )
++FIND_LIBRARY(HDF5_CORE_LIBRARY NAMES hdf5dll hdf5_serial  )
++FIND_LIBRARY(HDF5_HL_LIBRARY NAMES hdf5_hldll hdf5_serial_hl  )
+ FIND_LIBRARY(HDF5_CPP_LIBRARY NAMES hdf5_cppdll hdf5_cpp )
+ 
+ IF(WIN32 AND HDF5_CORE_LIBRARY MATCHES "dll.lib$")
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b3d940e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-hdf5-detection.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git



More information about the debian-science-commits mailing list