aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pcl/gcc8.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-04-01 19:36:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-04-02 10:31:58 +0000
commit6e3ec714c226087606d236468f2512790db0dac2 (patch)
tree0fcf36b2da983005fe2e27f615dd32c3e0ffcf7b /testing/pcl/gcc8.patch
parent57c38e109e4fa2f968c1decb029684034b8bd357 (diff)
downloadaports-6e3ec714c226087606d236468f2512790db0dac2.tar.bz2
aports-6e3ec714c226087606d236468f2512790db0dac2.tar.xz
testing/pcl: rebuild against boost-1.69
Diffstat (limited to 'testing/pcl/gcc8.patch')
-rw-r--r--testing/pcl/gcc8.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/pcl/gcc8.patch b/testing/pcl/gcc8.patch
new file mode 100644
index 0000000000..aec883a804
--- /dev/null
+++ b/testing/pcl/gcc8.patch
@@ -0,0 +1,36 @@
+From a0b3ce9ca5c69a945695c1c83dab7937a3d99b83 Mon Sep 17 00:00:00 2001
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Sat, 5 May 2018 23:58:13 +0200
+Subject: [PATCH] Dereference shared_ptr, fix for GCC8
+
+---
+ segmentation/include/pcl/segmentation/ground_plane_comparator.h | 2 +-
+ .../include/pcl/segmentation/plane_coefficient_comparator.h | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/segmentation/include/pcl/segmentation/ground_plane_comparator.h b/segmentation/include/pcl/segmentation/ground_plane_comparator.h
+index e39354d7fd..f96f38bfb5 100644
+--- a/segmentation/include/pcl/segmentation/ground_plane_comparator.h
++++ b/segmentation/include/pcl/segmentation/ground_plane_comparator.h
+@@ -147,7 +147,7 @@ namespace pcl
+ const std::vector<float>&
+ getPlaneCoeffD () const
+ {
+- return (plane_coeff_d_);
++ return (*plane_coeff_d_);
+ }
+
+ /** \brief Set the tolerance in radians for difference in normal direction between neighboring points, to be considered part of the same plane.
+diff --git a/segmentation/include/pcl/segmentation/plane_coefficient_comparator.h b/segmentation/include/pcl/segmentation/plane_coefficient_comparator.h
+index 9c94813727..a21725a40c 100644
+--- a/segmentation/include/pcl/segmentation/plane_coefficient_comparator.h
++++ b/segmentation/include/pcl/segmentation/plane_coefficient_comparator.h
+@@ -141,7 +141,7 @@ namespace pcl
+ const std::vector<float>&
+ getPlaneCoeffD () const
+ {
+- return (plane_coeff_d_);
++ return (*plane_coeff_d_);
+ }
+
+ /** \brief Set the tolerance in radians for difference in normal direction between neighboring points, to be considered part of the same plane.