mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-ros/image_geometry: only link to req ocv modules
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
This commit is contained in:
13
dev-ros/image_geometry/files/ocv_leak.patch
Normal file
13
dev-ros/image_geometry/files/ocv_leak.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: image_geometry/CMakeLists.txt
|
||||
===================================================================
|
||||
--- image_geometry.orig/CMakeLists.txt
|
||||
+++ image_geometry/CMakeLists.txt
|
||||
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0.2)
|
||||
project(image_geometry)
|
||||
|
||||
find_package(catkin REQUIRED sensor_msgs)
|
||||
-find_package(OpenCV REQUIRED)
|
||||
+find_package(OpenCV REQUIRED COMPONENTS opencv_core opencv_imgproc opencv_calib3d)
|
||||
|
||||
catkin_package(CATKIN_DEPENDS sensor_msgs
|
||||
DEPENDS OpenCV
|
||||
@@ -24,3 +24,4 @@ DEPEND="${RDEPEND}
|
||||
dev-cpp/gtest
|
||||
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
|
||||
)"
|
||||
PATCHES=( "${FILESDIR}/ocv_leak.patch" )
|
||||
@@ -24,3 +24,4 @@ DEPEND="${RDEPEND}
|
||||
dev-cpp/gtest
|
||||
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
|
||||
)"
|
||||
PATCHES=( "${FILESDIR}/ocv_leak.patch" )
|
||||
|
||||
Reference in New Issue
Block a user