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

diff --git a/dev-ros/gmapping/files/boost170.patch b/dev-ros/gmapping/files/boost170.patch
new file mode 100644 (file)
index 0000000..e3a5994
--- /dev/null
@@ -0,0 +1,13 @@
+Index: gmapping/CMakeLists.txt
+===================================================================
+--- gmapping.orig/CMakeLists.txt
++++ gmapping/CMakeLists.txt
+@@ -3,7 +3,7 @@ project(gmapping)
+ find_package(catkin REQUIRED nav_msgs nodelet openslam_gmapping roscpp tf rosbag_storage)
+-find_package(Boost REQUIRED signals)
++find_package(Boost REQUIRED)
+ include_directories(${Boost_INCLUDE_DIRS} ${catkin_INCLUDE_DIRS})
index 307f03f929b10fd8d46b408fc69184679df1c007..aaad570edc05230e1650ff07e8c4e19578b440d8 100644 (file)
@@ -24,3 +24,4 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        dev-ros/rostest"
+PATCHES=( "${FILESDIR}/boost170.patch" )