dev-ros/depthimage_to_laserscan: fix build with latest pluginlib
authorAlexis Ballier <aballier@gentoo.org>
Mon, 28 May 2018 11:09:04 +0000 (13:09 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 28 May 2018 11:37:41 +0000 (13:37 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-ros/depthimage_to_laserscan/depthimage_to_laserscan-1.0.7-r2.ebuild
dev-ros/depthimage_to_laserscan/depthimage_to_laserscan-9999.ebuild
dev-ros/depthimage_to_laserscan/files/pluginlib.patch [new file with mode: 0644]

index b0b3cce5f4e8e5f928e4e28c913ca22c3c4f3e60..2e621e904b7bca2fe7480490546cce9e7ad9c290 100644 (file)
@@ -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" )
index 9a1d9908c4d6a9c17d08d9864a34ff1b9fd98782..2e621e904b7bca2fe7480490546cce9e7ad9c290 100644 (file)
@@ -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" )
diff --git a/dev-ros/depthimage_to_laserscan/files/pluginlib.patch b/dev-ros/depthimage_to_laserscan/files/pluginlib.patch
new file mode 100644 (file)
index 0000000..a367cd4
--- /dev/null
@@ -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)