mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-10 06:57:08 -08:00
dev-ros/gazebo_ros_control: fix build with urdfdom1 and add := dep on it
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
Index: gazebo_ros_control/src/default_robot_hw_sim.cpp
|
||||
===================================================================
|
||||
--- gazebo_ros_control.orig/src/default_robot_hw_sim.cpp
|
||||
+++ gazebo_ros_control/src/default_robot_hw_sim.cpp
|
||||
@@ -381,7 +381,7 @@ void DefaultRobotHWSim::registerJointLim
|
||||
|
||||
if (urdf_model != NULL)
|
||||
{
|
||||
- const boost::shared_ptr<const urdf::Joint> urdf_joint = urdf_model->getJoint(joint_name);
|
||||
+ const std::shared_ptr<const urdf::Joint> urdf_joint = urdf_model->getJoint(joint_name);
|
||||
if (urdf_joint != NULL)
|
||||
{
|
||||
*joint_type = urdf_joint->type;
|
||||
+4
-2
@@ -22,8 +22,10 @@ RDEPEND="
|
||||
dev-ros/hardware_interface
|
||||
dev-ros/transmission_interface
|
||||
dev-ros/pluginlib
|
||||
dev-ros/joint_limits_interface
|
||||
dev-ros/urdf
|
||||
>=dev-ros/joint_limits_interface-0.11.0
|
||||
>=dev-ros/urdf-1.12.3-r1
|
||||
dev-libs/urdfdom:=
|
||||
sci-electronics/gazebo
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=( "${FILESDIR}/urdfdom1.patch" )
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
@@ -25,5 +25,6 @@ RDEPEND="
|
||||
dev-ros/joint_limits_interface
|
||||
dev-ros/urdf
|
||||
sci-electronics/gazebo
|
||||
dev-libs/urdfdom:=
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
Reference in New Issue
Block a user