dev-ros/imu_filter_madgwick: fix build with boost 1.70.
authorAlexis Ballier <aballier@gentoo.org>
Wed, 28 Aug 2019 14:27:51 +0000 (16:27 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 28 Aug 2019 17:01:41 +0000 (19:01 +0200)
Closes: https://bugs.gentoo.org/692014
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ros/imu_filter_madgwick/files/boost_signals.patch [new file with mode: 0644]
dev-ros/imu_filter_madgwick/imu_filter_madgwick-1.2.1.ebuild
dev-ros/imu_filter_madgwick/imu_filter_madgwick-9999.ebuild

diff --git a/dev-ros/imu_filter_madgwick/files/boost_signals.patch b/dev-ros/imu_filter_madgwick/files/boost_signals.patch
new file mode 100644 (file)
index 0000000..75d3130
--- /dev/null
@@ -0,0 +1,13 @@
+Index: imu_filter_madgwick/CMakeLists.txt
+===================================================================
+--- imu_filter_madgwick.orig/CMakeLists.txt
++++ imu_filter_madgwick/CMakeLists.txt
+@@ -3,7 +3,7 @@ project(imu_filter_madgwick)
+ find_package(catkin REQUIRED COMPONENTS roscpp sensor_msgs geometry_msgs tf2 tf2_geometry_msgs tf2_ros nodelet pluginlib message_filters dynamic_reconfigure)
+-find_package(Boost REQUIRED COMPONENTS system thread signals)
++find_package(Boost REQUIRED COMPONENTS system thread)
+ # Generate dynamic parameters
+ generate_dynamic_reconfigure_options(cfg/ImuFilterMadgwick.cfg)
index 1292030f59aa25972f7dd28c0873e3a5aa35c989..44fb87672c7d95b3f986f5414725d477395105ec 100644 (file)
@@ -31,3 +31,4 @@ RDEPEND="
 DEPEND="${RDEPEND}
        test? ( dev-ros/rosunit )
 "
+PATCHES=( "${FILESDIR}/boost_signals.patch" )
index d66fb87d71cd14f64ff3ff7755d77aae0cdf81d2..44fb87672c7d95b3f986f5414725d477395105ec 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
@@ -31,3 +31,4 @@ RDEPEND="
 DEPEND="${RDEPEND}
        test? ( dev-ros/rosunit )
 "
+PATCHES=( "${FILESDIR}/boost_signals.patch" )