[opencv] 08/14: Fix Build with HDF5. Add patches/moudles_hdf5.patch

Mattia Rizzolo mattia at debian.org
Wed Apr 26 16:42:40 UTC 2017


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

mattia pushed a commit to branch master
in repository opencv.

commit e525f42a9aa0fce927c4e70dfffe5dcc000ce3d7
Author: Nobuhiro Iwamatsu <iwamatsu at debian.org>
Date:   Sun Oct 23 14:34:48 2016 +0900

    Fix Build with HDF5. Add patches/moudles_hdf5.patch
    
    Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at debian.org>
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 debian/patches/moudles_hdf5.patch | 14 ++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/moudles_hdf5.patch b/debian/patches/moudles_hdf5.patch
new file mode 100644
index 0000000..df2df76
--- /dev/null
+++ b/debian/patches/moudles_hdf5.patch
@@ -0,0 +1,14 @@
+Description: fix FTBFS due to wrong include
+Author: Nobuhiro Iwamatsu <iwamatsu at debian.org>
+
+--- a/contrib/modules/hdf/include/opencv2/hdf/hdf5.hpp
++++ b/contrib/modules/hdf/include/opencv2/hdf/hdf5.hpp
+@@ -37,7 +37,7 @@
+ 
+ #include <vector>
+ 
+-#include <hdf5.h>
++#include <hdf5/serial/hdf5.h>
+ 
+ 
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 8a4f9df..9e8509d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ support_x32
 disable_opengl_test_build
 mathjax
 change_jquery.js_path
+moudles_hdf5.patch

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



More information about the debian-science-commits mailing list