mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-ros/depthimage_to_laserscan: fix build with latest pluginlib
Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -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
|
||||
@@ -25,4 +25,4 @@ RDEPEND="
|
||||
dev-libs/console_bridge:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/isnan.patch" )
|
||||
PATCHES=( "${FILESDIR}/isnan.patch" "${FILESDIR}/pluginlib.patch" )
|
||||
|
||||
@@ -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
|
||||
@@ -25,3 +25,4 @@ RDEPEND="
|
||||
dev-libs/console_bridge:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/isnan.patch" "${FILESDIR}/pluginlib.patch" )
|
||||
|
||||
11
dev-ros/depthimage_to_laserscan/files/pluginlib.patch
Normal file
11
dev-ros/depthimage_to_laserscan/files/pluginlib.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
Index: depthimage_to_laserscan-1.0.7/src/DepthImageToLaserScanNodelet.cpp
|
||||
===================================================================
|
||||
--- depthimage_to_laserscan-1.0.7.orig/src/DepthImageToLaserScanNodelet.cpp
|
||||
+++ depthimage_to_laserscan-1.0.7/src/DepthImageToLaserScanNodelet.cpp
|
||||
@@ -57,5 +57,5 @@ private:
|
||||
}
|
||||
|
||||
#include <pluginlib/class_list_macros.h>
|
||||
-PLUGINLIB_DECLARE_CLASS(depthimage_to_laserscan, DepthImageToLaserScanNodelet, depthimage_to_laserscan::DepthImageToLaserScanNodelet, nodelet::Nodelet);
|
||||
+PLUGINLIB_EXPORT_CLASS(depthimage_to_laserscan::DepthImageToLaserScanNodelet, nodelet::Nodelet)
|
||||
|
||||
Reference in New Issue
Block a user