diff options
Diffstat (limited to 'dev-ros')
3 files changed, 15 insertions, 0 deletions
diff --git a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild index 97f465fd4872..ee76a3e1f2b2 100644 --- a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild +++ b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-1.14.0.ebuild @@ -26,3 +26,4 @@ DEPEND="${RDEPEND} dev-cpp/gtest ) " +PATCHES=( "${FILESDIR}/ocv_leak.patch" ) diff --git a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild index 97f465fd4872..ee76a3e1f2b2 100644 --- a/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild +++ b/dev-ros/compressed_depth_image_transport/compressed_depth_image_transport-9999.ebuild @@ -26,3 +26,4 @@ DEPEND="${RDEPEND} dev-cpp/gtest ) " +PATCHES=( "${FILESDIR}/ocv_leak.patch" ) diff --git a/dev-ros/compressed_depth_image_transport/files/ocv_leak.patch b/dev-ros/compressed_depth_image_transport/files/ocv_leak.patch new file mode 100644 index 000000000000..8e1f81ae32fa --- /dev/null +++ b/dev-ros/compressed_depth_image_transport/files/ocv_leak.patch @@ -0,0 +1,13 @@ +Index: compressed_depth_image_transport/CMakeLists.txt +=================================================================== +--- compressed_depth_image_transport.orig/CMakeLists.txt ++++ compressed_depth_image_transport/CMakeLists.txt +@@ -5,7 +5,7 @@ if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COM + # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror") + endif() + +-find_package(OpenCV REQUIRED) ++find_package(OpenCV REQUIRED COMPONENTS opencv_core opencv_imgcodecs opencv_highgui) + find_package(catkin REQUIRED cv_bridge dynamic_reconfigure image_transport) + + # generate the dynamic_reconfigure config file |