1 |
commit: ba429326b215c417fcfaa65c6ee98e5f0f96c67d |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 31 09:09:19 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 31 09:10:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba429326 |
7 |
|
8 |
sci-libs/rtabmap: fix build with latest pcl |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
sci-libs/rtabmap/files/pcl.patch | 22 ++++++++++++++++++++++ |
14 |
sci-libs/rtabmap/rtabmap-0.20.3.ebuild | 1 + |
15 |
2 files changed, 23 insertions(+) |
16 |
|
17 |
diff --git a/sci-libs/rtabmap/files/pcl.patch b/sci-libs/rtabmap/files/pcl.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..249d93d1c59 |
20 |
--- /dev/null |
21 |
+++ b/sci-libs/rtabmap/files/pcl.patch |
22 |
@@ -0,0 +1,22 @@ |
23 |
+From 24052a6ebe65fb260ee1d838ca5305b12b15d928 Mon Sep 17 00:00:00 2001 |
24 |
+From: matlabbe <matlabbe@×××××.com> |
25 |
+Date: Tue, 25 Aug 2020 10:56:30 -0400 |
26 |
+Subject: [PATCH] fixed pcl::getAngle3D not found error on latest pcl version |
27 |
+ (https://github.com/PointCloudLibrary/pcl/commit/6df3e602a72ea16657f901c9a6911d95b263ba08#diff-8e08415b9972a447d115dbca3f8fa0a1) |
28 |
+ |
29 |
+--- |
30 |
+ corelib/src/pcl18/surface/impl/texture_mapping.hpp | 1 + |
31 |
+ 1 file changed, 1 insertion(+) |
32 |
+ |
33 |
+diff --git a/corelib/src/pcl18/surface/impl/texture_mapping.hpp b/corelib/src/pcl18/surface/impl/texture_mapping.hpp |
34 |
+index a30f5766f..fbeedb221 100644 |
35 |
+--- a/corelib/src/pcl18/surface/impl/texture_mapping.hpp |
36 |
++++ b/corelib/src/pcl18/surface/impl/texture_mapping.hpp |
37 |
+@@ -41,6 +41,7 @@ |
38 |
+ #include <pcl/common/distances.h> |
39 |
+ #include <pcl18/surface/texture_mapping.h> |
40 |
+ #include <pcl/search/octree.h> |
41 |
++#include <pcl/common/common.h> // for getAngle3D |
42 |
+ |
43 |
+ /////////////////////////////////////////////////////////////////////////////////////////////// |
44 |
+ template<typename PointInT> std::vector<Eigen::Vector2f, Eigen::aligned_allocator<Eigen::Vector2f> > |
45 |
|
46 |
diff --git a/sci-libs/rtabmap/rtabmap-0.20.3.ebuild b/sci-libs/rtabmap/rtabmap-0.20.3.ebuild |
47 |
index 5519717519d..1fd30dc27ec 100644 |
48 |
--- a/sci-libs/rtabmap/rtabmap-0.20.3.ebuild |
49 |
+++ b/sci-libs/rtabmap/rtabmap-0.20.3.ebuild |
50 |
@@ -44,6 +44,7 @@ RDEPEND=" |
51 |
" |
52 |
DEPEND="${RDEPEND}" |
53 |
BDEPEND="virtual/pkgconfig" |
54 |
+PATCHES=( "${FILESDIR}/pcl.patch" ) |
55 |
|
56 |
src_configure() { |
57 |
local mycmakeargs=( |