Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/hector_pose_estimation/files/, dev-ros/hector_pose_estimation/
Date: Sat, 01 Dec 2018 15:00:25
Message-Id: 1543676403.aead08dce29f698e814cd37ce92c5d44036a6b1e.soap@gentoo
1 commit: aead08dce29f698e814cd37ce92c5d44036a6b1e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 1 14:59:13 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 1 15:00:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aead08dc
7
8 dev-ros/hector_pose_estimation: Fix for deprecated pluginlib macro
9
10 Closes: https://bugs.gentoo.org/653184
11 Package-Manager: Portage-2.3.52, Repoman-2.3.12
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 .../hector_pose_estimation-0.3.0-pluginlib.patch | 19 +++++++++++++++++++
15 .../hector_pose_estimation-0.3.0-r1.ebuild | 4 +++-
16 2 files changed, 22 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-ros/hector_pose_estimation/files/hector_pose_estimation-0.3.0-pluginlib.patch b/dev-ros/hector_pose_estimation/files/hector_pose_estimation-0.3.0-pluginlib.patch
19 new file mode 100644
20 index 00000000000..a226c40e9fc
21 --- /dev/null
22 +++ b/dev-ros/hector_pose_estimation/files/hector_pose_estimation-0.3.0-pluginlib.patch
23 @@ -0,0 +1,19 @@
24 +From 6743fbe859981c2b52a2ab413175d7d2eaf33b47 Mon Sep 17 00:00:00 2001
25 +From: Mikael Arguedas <mikael@×××××××××××××.org>
26 +Date: Fri, 27 Oct 2017 15:08:45 -0700
27 +Subject: [PATCH] update to use non deprecated pluginlib macro
28 +
29 +---
30 + hector_pose_estimation/src/pose_estimation_nodelet.cpp | 2 +-
31 + 1 file changed, 1 insertion(+), 1 deletion(-)
32 +
33 +diff --git a/hector_pose_estimation/src/pose_estimation_nodelet.cpp b/hector_pose_estimation/src/pose_estimation_nodelet.cpp
34 +index 7da3ca6..97ba5b0 100644
35 +--- a/hector_pose_estimation/src/pose_estimation_nodelet.cpp
36 ++++ b/hector_pose_estimation/src/pose_estimation_nodelet.cpp
37 +@@ -55,4 +55,4 @@ class PoseEstimationNodelet : public PoseEstimationNode, public nodelet::Nodelet
38 + } // namespace hector_pose_estimation
39 +
40 + #include <pluginlib/class_list_macros.h>
41 +-PLUGINLIB_DECLARE_CLASS(hector_pose_estimation, PoseEstimation, hector_pose_estimation::PoseEstimationNodelet, nodelet::Nodelet)
42 ++PLUGINLIB_EXPORT_CLASS(hector_pose_estimation::PoseEstimationNodelet, nodelet::Nodelet)
43
44 diff --git a/dev-ros/hector_pose_estimation/hector_pose_estimation-0.3.0-r1.ebuild b/dev-ros/hector_pose_estimation/hector_pose_estimation-0.3.0-r1.ebuild
45 index 7cc3dd4e649..284a8883bba 100644
46 --- a/dev-ros/hector_pose_estimation/hector_pose_estimation-0.3.0-r1.ebuild
47 +++ b/dev-ros/hector_pose_estimation/hector_pose_estimation-0.3.0-r1.ebuild
48 @@ -1,4 +1,4 @@
49 -# Copyright 1999-2017 Gentoo Foundation
50 +# Copyright 1999-2018 Gentoo Authors
51 # Distributed under the terms of the GNU General Public License v2
52
53 EAPI=5
54 @@ -26,3 +26,5 @@ RDEPEND="
55 "
56 # dev-ros/hector_timing
57 DEPEND="${RDEPEND}"
58 +
59 +PATCHES=( "${FILESDIR}"/${PN}-0.3.0-pluginlib.patch )