dev-ros/image_cb_detector: fix build with boost 1.70
authorAlexis Ballier <aballier@gentoo.org>
Wed, 28 Aug 2019 17:23:38 +0000 (19:23 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 28 Aug 2019 17:23:56 +0000 (19:23 +0200)
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ros/image_cb_detector/files/boost170.patch [new file with mode: 0644]
dev-ros/image_cb_detector/image_cb_detector-0.10.14-r1.ebuild

diff --git a/dev-ros/image_cb_detector/files/boost170.patch b/dev-ros/image_cb_detector/files/boost170.patch
new file mode 100644 (file)
index 0000000..f8ae562
--- /dev/null
@@ -0,0 +1,13 @@
+Index: image_cb_detector/CMakeLists.txt
+===================================================================
+--- image_cb_detector.orig/CMakeLists.txt
++++ image_cb_detector/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ cmake_minimum_required(VERSION 2.8.3)
+ project(image_cb_detector)
+-find_package(Boost REQUIRED thread signals)
++find_package(Boost REQUIRED thread)
+ find_package(catkin REQUIRED actionlib actionlib_msgs calibration_msgs cv_bridge genmsg geometry_msgs image_transport message_filters roscpp sensor_msgs std_msgs)
+ find_package(OpenCV REQUIRED)
index 8b96da0e6b064d0c32a4ec0d4bed6682d3a24266..2502c78f860a4f99b60a370b0d5a5e7617cb5d91 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -29,4 +29,4 @@ RDEPEND="
        dev-libs/boost:=[threads]
 "
 DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}/gcc6.patch" "${FILESDIR}/c11.patch" )
+PATCHES=( "${FILESDIR}/gcc6.patch" "${FILESDIR}/c11.patch" "${FILESDIR}/boost170.patch" )