public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ros/imu_filter_madgwick/, dev-ros/imu_filter_madgwick/files/
@ 2018-04-12 18:30 Alexis Ballier
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier @ 2018-04-12 18:30 UTC (permalink / raw
  To: gentoo-commits

commit:     ff074133434486d8800f2aa686b81842e876f1f6
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 12 18:28:45 2018 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Apr 12 18:28:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff074133

dev-ros/imu_filter_madgwick: fix build

Closes: https://bugs.gentoo.org/653040
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-ros/imu_filter_madgwick/files/pluginlib.patch              | 10 ++++++++++
 .../imu_filter_madgwick/imu_filter_madgwick-1.1.5-r1.ebuild    |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)

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 00000000000..26e77bb3ffc
--- /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 d66fb87d71c..8d3eedf16d3 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" )


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-12 18:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-12 18:30 [gentoo-commits] repo/gentoo:master commit in: dev-ros/imu_filter_madgwick/, dev-ros/imu_filter_madgwick/files/ Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox