dev-ros/image_view: fix build with boost 1.70
authorAlexis Ballier <aballier@gentoo.org>
Wed, 28 Aug 2019 16:31:51 +0000 (18:31 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 28 Aug 2019 17:01:45 +0000 (19:01 +0200)
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ros/image_view/files/boost170.patch [new file with mode: 0644]
dev-ros/image_view/image_view-1.12.23.ebuild

diff --git a/dev-ros/image_view/files/boost170.patch b/dev-ros/image_view/files/boost170.patch
new file mode 100644 (file)
index 0000000..ab52d89
--- /dev/null
@@ -0,0 +1,13 @@
+Index: image_view/CMakeLists.txt
+===================================================================
+--- image_view.orig/CMakeLists.txt
++++ image_view/CMakeLists.txt
+@@ -5,7 +5,7 @@ find_package(catkin REQUIRED COMPONENTS
+ generate_dynamic_reconfigure_options(cfg/ImageView.cfg)
+ catkin_package(CATKIN_DEPENDS dynamic_reconfigure)
+-find_package(Boost REQUIRED COMPONENTS signals thread)
++find_package(Boost REQUIRED COMPONENTS thread)
+ find_package(OpenCV REQUIRED)
+ include_directories(${Boost_INCLUDE_DIRS}
index 6835689f080e59af708c3129408596911c99ba94..ef3403e5342985d8d33e09393321087a99c10126 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -31,3 +31,4 @@ RDEPEND="
        dev-ros/std_srvs[${CATKIN_MESSAGES_CXX_USEDEP}]
 "
 DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/boost170.patch" )