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

diff --git a/dev-ros/hector_mapping/files/boost170.patch b/dev-ros/hector_mapping/files/boost170.patch
new file mode 100644 (file)
index 0000000..89bc05d
--- /dev/null
@@ -0,0 +1,13 @@
+Index: hector_mapping/CMakeLists.txt
+===================================================================
+--- hector_mapping.orig/CMakeLists.txt
++++ hector_mapping/CMakeLists.txt
+@@ -7,7 +7,7 @@ project(hector_mapping)
+ find_package(catkin REQUIRED COMPONENTS roscpp nav_msgs visualization_msgs tf message_filters laser_geometry tf_conversions message_generation)
+ ## System dependencies are found with CMake's conventions
+-find_package(Boost REQUIRED COMPONENTS thread signals)
++find_package(Boost REQUIRED COMPONENTS thread)
+ include_directories(${Boost_INCLUDE_DIRS})
+ # Find Eigen3 (from http://wiki.ros.org/jade/Migration)
index 4e49dd7e8a0e4a4b2bccd26847bf9f8e325e4935..fbcf32d16868a44a821c724085c9ef667ce18a65 100644 (file)
@@ -26,3 +26,4 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        dev-cpp/eigen:3"
+PATCHES=( "${FILESDIR}/boost170.patch" )