1 |
commit: a1b931d3d1a2a56977d40f9be8244fc6671a8e84 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 11:33:23 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 11:50:50 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1b931d3 |
7 |
|
8 |
dev-ros/pcl_ros: fix build |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-ros/pcl_ros/files/kdtree.patch | 12 ++++++++++++ |
14 |
dev-ros/pcl_ros/pcl_ros-1.7.1.ebuild | 2 +- |
15 |
2 files changed, 13 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-ros/pcl_ros/files/kdtree.patch b/dev-ros/pcl_ros/files/kdtree.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..ee5571f0715 |
20 |
--- /dev/null |
21 |
+++ b/dev-ros/pcl_ros/files/kdtree.patch |
22 |
@@ -0,0 +1,12 @@ |
23 |
+Index: pcl_ros/include/pcl_ros/surface/moving_least_squares.h |
24 |
+=================================================================== |
25 |
+--- pcl_ros.orig/include/pcl_ros/surface/moving_least_squares.h |
26 |
++++ pcl_ros/include/pcl_ros/surface/moving_least_squares.h |
27 |
+@@ -42,6 +42,7 @@ |
28 |
+ |
29 |
+ // PCL includes |
30 |
+ #include <pcl/surface/mls.h> |
31 |
++#include <pcl/search/kdtree.h> // for KdTree |
32 |
+ |
33 |
+ // Dynamic reconfigure |
34 |
+ #include <dynamic_reconfigure/server.h> |
35 |
|
36 |
diff --git a/dev-ros/pcl_ros/pcl_ros-1.7.1.ebuild b/dev-ros/pcl_ros/pcl_ros-1.7.1.ebuild |
37 |
index 5d3ff3e64a2..a656236b0bc 100644 |
38 |
--- a/dev-ros/pcl_ros/pcl_ros-1.7.1.ebuild |
39 |
+++ b/dev-ros/pcl_ros/pcl_ros-1.7.1.ebuild |
40 |
@@ -42,4 +42,4 @@ DEPEND="${RDEPEND} |
41 |
dev-cpp/gtest |
42 |
) |
43 |
" |
44 |
-PATCHES=( "${FILESDIR}/pcl111.patch" ) |
45 |
+PATCHES=( "${FILESDIR}/pcl111.patch" "${FILESDIR}/kdtree.patch" ) |