summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2018-04-11 20:13:10 +0200
committerAlexis Ballier <aballier@gentoo.org>2018-04-11 20:13:21 +0200
commita23d166737c4de4aa12ae7c8767ad9225f0af8a5 (patch)
tree997cf0962984a8dd812590f6f7697c2d644c66d7 /dev-ros/laser_proc
parentapp-admin/sudo: Fixed /var/db/sudo permissions for real. (diff)
downloadgentoo-a23d166737c4de4aa12ae7c8767ad9225f0af8a5.tar.gz
gentoo-a23d166737c4de4aa12ae7c8767ad9225f0af8a5.tar.bz2
gentoo-a23d166737c4de4aa12ae7c8767ad9225f0af8a5.zip
dev-ros/laser_proc: fix build
Closes: https://bugs.gentoo.org/652978 Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'dev-ros/laser_proc')
-rw-r--r--dev-ros/laser_proc/files/pluginlib.patch20
-rw-r--r--dev-ros/laser_proc/laser_proc-0.1.4-r1.ebuild3
2 files changed, 22 insertions, 1 deletions
diff --git a/dev-ros/laser_proc/files/pluginlib.patch b/dev-ros/laser_proc/files/pluginlib.patch
new file mode 100644
index 00000000000..cf34946597f
--- /dev/null
+++ b/dev-ros/laser_proc/files/pluginlib.patch
@@ -0,0 +1,20 @@
+From 2d81f874dc4f2a78d66284f3f32d6efe0bace4e3 Mon Sep 17 00:00:00 2001
+From: Mikael Arguedas <mikael@osrfoundation.org>
+Date: Thu, 26 Oct 2017 18:11:55 -0700
+Subject: [PATCH] update to use non deprecated pluginlib macro
+
+---
+ src/LaserProcNodelet.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/LaserProcNodelet.cpp b/src/LaserProcNodelet.cpp
+index 177d088..5e07e39 100644
+--- a/src/LaserProcNodelet.cpp
++++ b/src/LaserProcNodelet.cpp
+@@ -57,5 +57,5 @@ class LaserProcNodelet : public nodelet::Nodelet
+ }
+
+ #include <pluginlib/class_list_macros.h>
+-PLUGINLIB_DECLARE_CLASS(laser_proc, LaserProcNodelet, laser_proc::LaserProcNodelet, nodelet::Nodelet);
++PLUGINLIB_EXPORT_CLASS(laser_proc::LaserProcNodelet, nodelet::Nodelet)
+
diff --git a/dev-ros/laser_proc/laser_proc-0.1.4-r1.ebuild b/dev-ros/laser_proc/laser_proc-0.1.4-r1.ebuild
index daae664dcaa..56bf959350e 100644
--- a/dev-ros/laser_proc/laser_proc-0.1.4-r1.ebuild
+++ b/dev-ros/laser_proc/laser_proc-0.1.4-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
@@ -22,3 +22,4 @@ RDEPEND="
dev-libs/boost:=
"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/pluginlib.patch" )