[eigen3] 03/04: Fix opencv compilation. (Closes: #804768)

Anton Gladky gladk at moszumanska.debian.org
Thu Dec 10 19:54:08 UTC 2015


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

gladk pushed a commit to branch master
in repository eigen3.

commit b0f0730faa6657cc1ebeadf3d8124b2647bbf21b
Author: Jurica Stanojkovic <Jurica.Stanojkovic at imgtec.com>
Date:   Thu Dec 10 20:50:38 2015 +0100

    Fix opencv compilation. (Closes: #804768)
---
 debian/patches/09_fix_opencv_compilation.patch | 13 +++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/09_fix_opencv_compilation.patch b/debian/patches/09_fix_opencv_compilation.patch
new file mode 100644
index 0000000..6813e6d
--- /dev/null
+++ b/debian/patches/09_fix_opencv_compilation.patch
@@ -0,0 +1,13 @@
+Index: eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
+===================================================================
+--- eigen3.orig/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
++++ eigen3/unsupported/Eigen/src/MatrixFunctions/MatrixExponential.h
+@@ -348,7 +348,7 @@ void matrix_exp_compute(const MatrixType
+   typedef typename NumTraits<Scalar>::Real RealScalar;
+   typedef typename std::complex<RealScalar> ComplexScalar;
+   if (sizeof(RealScalar) > 14) {
+-    result = arg.matrixFunction(StdStemFunctions<ComplexScalar>::exp);
++    result = arg.matrixFunction(internal::stem_function_exp<ComplexScalar>);
+     return;
+   }
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index 534680c..ad58d57 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,4 +4,5 @@
 06_remove_doc_matrix.patch
 07_remove_compressed_doc.patch
 08_suitesparse-4.4.patch
+09_fix_opencv_compilation.patch
 10_fix_neon_vectorization.patch

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



More information about the debian-science-commits mailing list