[pcl] 01/02: Add patch for gcc6

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Sat Jan 23 18:31:10 UTC 2016


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

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

commit 67535f57988ad6cb18227c5bb31dfa51c9121876
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Sat Jan 23 18:17:39 2016 +0100

    Add patch for gcc6
    
    Closes: #812015
---
 debian/patches/0012-Fix-compilation-on-gcc6.patch | 35 +++++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 36 insertions(+)

diff --git a/debian/patches/0012-Fix-compilation-on-gcc6.patch b/debian/patches/0012-Fix-compilation-on-gcc6.patch
new file mode 100644
index 0000000..f9d66f4
--- /dev/null
+++ b/debian/patches/0012-Fix-compilation-on-gcc6.patch
@@ -0,0 +1,35 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Sat, 23 Jan 2016 18:16:24 +0100
+Subject: Fix compilation on gcc6
+
+---
+ .../include/pcl/registration/correspondence_estimation_backprojection.h | 2 +-
+ .../pcl/registration/correspondence_estimation_normal_shooting.h        | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/registration/include/pcl/registration/correspondence_estimation_backprojection.h b/registration/include/pcl/registration/correspondence_estimation_backprojection.h
+index 9be0043..0a96c58 100644
+--- a/registration/include/pcl/registration/correspondence_estimation_backprojection.h
++++ b/registration/include/pcl/registration/correspondence_estimation_backprojection.h
+@@ -184,7 +184,7 @@ namespace pcl
+           * cloud for computing correspondences. By default we use k = 10 nearest 
+           * neighbors.
+           */
+-        inline void
++        inline unsigned int
+         getKSearch () const { return (k_); }
+         
+         /** \brief Clone and cast to CorrespondenceEstimationBase */
+diff --git a/registration/include/pcl/registration/correspondence_estimation_normal_shooting.h b/registration/include/pcl/registration/correspondence_estimation_normal_shooting.h
+index 84e7b32..4c5e0ab 100644
+--- a/registration/include/pcl/registration/correspondence_estimation_normal_shooting.h
++++ b/registration/include/pcl/registration/correspondence_estimation_normal_shooting.h
+@@ -180,7 +180,7 @@ namespace pcl
+           * cloud for computing correspondences. By default we use k = 10 nearest 
+           * neighbors.
+           */
+-        inline void
++        inline unsigned int
+         getKSearch () const { return (k_); }
+ 
+         /** \brief Clone and cast to CorrespondenceEstimationBase */
diff --git a/debian/patches/series b/debian/patches/series
index 123c5f6..cdd2e79 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@
 0009-Fix-THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS.patch
 0010-Fix-THIS_METHOD_IS_ONLY_FOR_INNER_OR_LAZY_PRODUCTS.patch
 0011-Only-set-QVTK_FOUND-if-it-s-actually-found.patch
+0012-Fix-compilation-on-gcc6.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