diff options
author | Alexis Ballier <aballier@gentoo.org> | 2018-04-12 20:28:45 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2018-04-12 20:28:56 +0200 |
commit | ff074133434486d8800f2aa686b81842e876f1f6 (patch) | |
tree | 3fd9418888ce4d3873739db659f585289d4a8ae3 /dev-ros | |
parent | dev-libs/UTF8Strings: Drop old (diff) | |
download | gentoo-ff074133434486d8800f2aa686b81842e876f1f6.tar.gz gentoo-ff074133434486d8800f2aa686b81842e876f1f6.tar.bz2 gentoo-ff074133434486d8800f2aa686b81842e876f1f6.zip |
dev-ros/imu_filter_madgwick: fix build
Closes: https://bugs.gentoo.org/653040
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'dev-ros')
-rw-r--r-- | dev-ros/imu_filter_madgwick/files/pluginlib.patch | 10 | ||||
-rw-r--r-- | dev-ros/imu_filter_madgwick/imu_filter_madgwick-1.1.5-r1.ebuild | 3 |
2 files changed, 12 insertions, 1 deletions
diff --git a/dev-ros/imu_filter_madgwick/files/pluginlib.patch b/dev-ros/imu_filter_madgwick/files/pluginlib.patch new file mode 100644 index 000000000000..26e77bb3ffcf --- /dev/null +++ b/dev-ros/imu_filter_madgwick/files/pluginlib.patch @@ -0,0 +1,10 @@ +Index: imu_filter_madgwick/src/imu_filter_nodelet.cpp +=================================================================== +--- imu_filter_madgwick.orig/src/imu_filter_nodelet.cpp ++++ imu_filter_madgwick/src/imu_filter_nodelet.cpp +@@ -36,4 +36,4 @@ void ImuFilterNodelet::onInit() + filter_.reset(new ImuFilterRos(nh, nh_private)); + } + +-PLUGINLIB_DECLARE_CLASS(imu_filter_madgwick, ImuFilterNodelet, ImuFilterNodelet, nodelet::Nodelet); ++PLUGINLIB_EXPORT_CLASS(ImuFilterNodelet, nodelet::Nodelet); diff --git a/dev-ros/imu_filter_madgwick/imu_filter_madgwick-1.1.5-r1.ebuild b/dev-ros/imu_filter_madgwick/imu_filter_madgwick-1.1.5-r1.ebuild index d66fb87d71cd..8d3eedf16d3f 100644 --- a/dev-ros/imu_filter_madgwick/imu_filter_madgwick-1.1.5-r1.ebuild +++ b/dev-ros/imu_filter_madgwick/imu_filter_madgwick-1.1.5-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # 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}/pluginlib.patch" ) |