Skip to content

Commit

Permalink
sci-libs/rtabmap: fix buidl with opencv4
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Alexis Ballier <[email protected]>
  • Loading branch information
aballier committed Dec 10, 2019
1 parent 641e1d0 commit 8dad73f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions sci-libs/rtabmap/files/ocv4.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
From d5b4b252870e4225ed00bd544a102015e5172c85 Mon Sep 17 00:00:00 2001
From: matlabbe <[email protected]>
Date: Fri, 9 Aug 2019 15:31:47 -0400
Subject: [PATCH] updated ORBExtractor opencv include (compatibility issue
https://github.com/introlab/rtabmap_ros/issues/333)

---
corelib/src/opencv/ORBextractor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/corelib/src/opencv/ORBextractor.h b/corelib/src/opencv/ORBextractor.h
index 0f06c395..58619a15 100644
--- a/corelib/src/opencv/ORBextractor.h
+++ b/corelib/src/opencv/ORBextractor.h
@@ -31,7 +31,7 @@

#include <vector>
#include <list>
-#include <opencv/cv.h>
+#include <opencv2/core/core_c.h>


namespace rtabmap
1 change: 1 addition & 0 deletions sci-libs/rtabmap/rtabmap-0.19.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ RDEPEND="
"
DEPEND="${RDEPEND}
virtual/pkgconfig"
PATCHES=( "${FILESDIR}/ocv4.patch" )

src_configure() {
local mycmakeargs=(
Expand Down

0 comments on commit 8dad73f

Please sign in to comment.