commit: ba429326b215c417fcfaa65c6ee98e5f0f96c67d Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Mon Aug 31 09:09:19 2020 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Mon Aug 31 09:10:22 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba429326
sci-libs/rtabmap: fix build with latest pcl Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> sci-libs/rtabmap/files/pcl.patch | 22 ++++++++++++++++++++++ sci-libs/rtabmap/rtabmap-0.20.3.ebuild | 1 + 2 files changed, 23 insertions(+) diff --git a/sci-libs/rtabmap/files/pcl.patch b/sci-libs/rtabmap/files/pcl.patch new file mode 100644 index 00000000000..249d93d1c59 --- /dev/null +++ b/sci-libs/rtabmap/files/pcl.patch @@ -0,0 +1,22 @@ +From 24052a6ebe65fb260ee1d838ca5305b12b15d928 Mon Sep 17 00:00:00 2001 +From: matlabbe <matla...@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 5519717519d..1fd30dc27ec 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=(