[pcl] 02/04: Fix FTBFS on ppc64el, thanks to ChriSopht in #eigen

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Mon Aug 17 15:07:02 UTC 2015


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

jspricke-guest pushed a commit to branch master
in repository pcl.

commit 81afb3505f051b2b0cc7d0611ff8c6f7efd0849b
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Mon Aug 17 11:58:21 2015 +0200

    Fix FTBFS on ppc64el, thanks to ChriSopht in #eigen
---
 ...x-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch | 27 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 28 insertions(+)

diff --git a/debian/patches/0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch b/debian/patches/0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch
new file mode 100644
index 0000000..afa33c8
--- /dev/null
+++ b/debian/patches/0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch
@@ -0,0 +1,27 @@
+From f2b6da959300acc1d0199cf3a922dae0844f7a03 Mon Sep 17 00:00:00 2001
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Mon, 17 Aug 2015 11:53:28 +0200
+Subject: [PATCH] Fix THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS
+
+see: https://buildd.debian.org/status/fetch.php?pkg=pcl&arch=ppc64el&ver=1.7.2-8&stamp=1438282347
+Thanks to ChriSopht in #eigen
+---
+ apps/in_hand_scanner/src/icp.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/apps/in_hand_scanner/src/icp.cpp b/apps/in_hand_scanner/src/icp.cpp
+index fcbd45c..6bbfad3 100644
+--- a/apps/in_hand_scanner/src/icp.cpp
++++ b/apps/in_hand_scanner/src/icp.cpp
+@@ -382,7 +382,7 @@ pcl::ihs::ICP::selectModelPoints (const MeshConstPtr&    mesh_model,
+   for (Mesh::VertexDataCloud::const_iterator it=cloud.begin (); it!=cloud.end (); ++it)
+   {
+     // Don't consider points that are facing away from the camera.
+-    if ((T_inv * it->getNormalVector4fMap ()).z () < 0.f)
++    if ((T_inv.lazyProduct (it->getNormalVector4fMap ())).z () < 0.f)
+     {
+       PointNormal pt;
+       pt.getVector4fMap ()       = it->getVector4fMap ();
+-- 
+2.5.0
+
diff --git a/debian/patches/series b/debian/patches/series
index dcfa7f9..2a57aa7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 0006-fixes-for-boost-1.56-and-Qt4.patch
 0007-Fix-for-boost-1.57.patch
 0008-Fixes-manual_registration-and-segmentation-demo-for-.patch
+0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch

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



More information about the debian-science-commits mailing list