summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-07-26 11:01:47 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-07-26 11:18:30 +0200
commitdd1ea63ab7aefc0c374eec50beadc72db2ff481b (patch)
tree29f482e54b6341bf884fcccb0e9b72bc8b3300cc /dev-ros/gazebo_ros_control/files
parentdev-ros/gazebo_ros_control: remove old (diff)
downloadgentoo-dd1ea63ab7aefc0c374eec50beadc72db2ff481b.tar.gz
gentoo-dd1ea63ab7aefc0c374eec50beadc72db2ff481b.tar.bz2
gentoo-dd1ea63ab7aefc0c374eec50beadc72db2ff481b.zip
dev-ros/gazebo_ros_control: fix build with urdfdom1 and add := dep on it
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ros/gazebo_ros_control/files')
-rw-r--r--dev-ros/gazebo_ros_control/files/urdfdom1.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-ros/gazebo_ros_control/files/urdfdom1.patch b/dev-ros/gazebo_ros_control/files/urdfdom1.patch
new file mode 100644
index 000000000000..0da763186ca9
--- /dev/null
+++ b/dev-ros/gazebo_ros_control/files/urdfdom1.patch
@@ -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;