summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-31 11:09:19 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-31 11:10:22 +0200
commitba429326b215c417fcfaa65c6ee98e5f0f96c67d (patch)
treee092cb5328207dd2830d7b832fc236929379d703 /sci-libs/rtabmap
parentmedia-sound/fluidsynth: bump to 2.1.4 (diff)
downloadgentoo-ba429326b215c417fcfaa65c6ee98e5f0f96c67d.tar.gz
gentoo-ba429326b215c417fcfaa65c6ee98e5f0f96c67d.tar.bz2
gentoo-ba429326b215c417fcfaa65c6ee98e5f0f96c67d.zip
sci-libs/rtabmap: fix build with latest pcl
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'sci-libs/rtabmap')
-rw-r--r--sci-libs/rtabmap/files/pcl.patch22
-rw-r--r--sci-libs/rtabmap/rtabmap-0.20.3.ebuild1
2 files changed, 23 insertions, 0 deletions
diff --git a/sci-libs/rtabmap/files/pcl.patch b/sci-libs/rtabmap/files/pcl.patch
new file mode 100644
index 000000000000..249d93d1c595
--- /dev/null
+++ b/sci-libs/rtabmap/files/pcl.patch
@@ -0,0 +1,22 @@
+From 24052a6ebe65fb260ee1d838ca5305b12b15d928 Mon Sep 17 00:00:00 2001
+From: matlabbe <matlabbe@gmail.com>
+Date: Tue, 25 Aug 2020 10:56:30 -0400
+Subject: [PATCH] fixed pcl::getAngle3D not found error on latest pcl version
+ (https://github.com/PointCloudLibrary/pcl/commit/6df3e602a72ea16657f901c9a6911d95b263ba08#diff-8e08415b9972a447d115dbca3f8fa0a1)
+
+---
+ corelib/src/pcl18/surface/impl/texture_mapping.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/corelib/src/pcl18/surface/impl/texture_mapping.hpp b/corelib/src/pcl18/surface/impl/texture_mapping.hpp
+index a30f5766f..fbeedb221 100644
+--- a/corelib/src/pcl18/surface/impl/texture_mapping.hpp
++++ b/corelib/src/pcl18/surface/impl/texture_mapping.hpp
+@@ -41,6 +41,7 @@
+ #include <pcl/common/distances.h>
+ #include <pcl18/surface/texture_mapping.h>
+ #include <pcl/search/octree.h>
++#include <pcl/common/common.h> // for getAngle3D
+
+ ///////////////////////////////////////////////////////////////////////////////////////////////
+ template<typename PointInT> std::vector<Eigen::Vector2f, Eigen::aligned_allocator<Eigen::Vector2f> >
diff --git a/sci-libs/rtabmap/rtabmap-0.20.3.ebuild b/sci-libs/rtabmap/rtabmap-0.20.3.ebuild
index 5519717519d9..1fd30dc27ec8 100644
--- a/sci-libs/rtabmap/rtabmap-0.20.3.ebuild
+++ b/sci-libs/rtabmap/rtabmap-0.20.3.ebuild
@@ -44,6 +44,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
+PATCHES=( "${FILESDIR}/pcl.patch" )
src_configure() {
local mycmakeargs=(