summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ros')
-rw-r--r--dev-ros/image_geometry/files/ocv_leak.patch13
-rw-r--r--dev-ros/image_geometry/image_geometry-1.15.0-r1.ebuild (renamed from dev-ros/image_geometry/image_geometry-1.15.0.ebuild)1
-rw-r--r--dev-ros/image_geometry/image_geometry-9999.ebuild1
3 files changed, 15 insertions, 0 deletions
diff --git a/dev-ros/image_geometry/files/ocv_leak.patch b/dev-ros/image_geometry/files/ocv_leak.patch
new file mode 100644
index 000000000000..cbc0f5a50669
--- /dev/null
+++ b/dev-ros/image_geometry/files/ocv_leak.patch
@@ -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
diff --git a/dev-ros/image_geometry/image_geometry-1.15.0.ebuild b/dev-ros/image_geometry/image_geometry-1.15.0-r1.ebuild
index e1195646cedd..851354d4b1be 100644
--- a/dev-ros/image_geometry/image_geometry-1.15.0.ebuild
+++ b/dev-ros/image_geometry/image_geometry-1.15.0-r1.ebuild
@@ -24,3 +24,4 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
)"
+PATCHES=( "${FILESDIR}/ocv_leak.patch" )
diff --git a/dev-ros/image_geometry/image_geometry-9999.ebuild b/dev-ros/image_geometry/image_geometry-9999.ebuild
index e1195646cedd..851354d4b1be 100644
--- a/dev-ros/image_geometry/image_geometry-9999.ebuild
+++ b/dev-ros/image_geometry/image_geometry-9999.ebuild
@@ -24,3 +24,4 @@ DEPEND="${RDEPEND}
dev-cpp/gtest
dev-ros/rostest[${PYTHON_SINGLE_USEDEP}]
)"
+PATCHES=( "${FILESDIR}/ocv_leak.patch" )