[ros-gazebo-ros-pkgs] 02/04: Add patch for urdfom-headers

Jochen Sprickerhof jspricke at moszumanska.debian.org
Wed Dec 7 22:11:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

jspricke pushed a commit to branch master
in repository ros-gazebo-ros-pkgs.

commit 701639d70bcca8885f616e072500df3ed899fe6b
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Sun Dec 4 17:11:26 2016 +0100

    Add patch for urdfom-headers
---
 ...ost-shared_ptr-to-urdf-JointConstSharedPtr.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0005-Change-boost-shared_ptr-to-urdf-JointConstSharedPtr.patch b/debian/patches/0005-Change-boost-shared_ptr-to-urdf-JointConstSharedPtr.patch
new file mode 100644
index 0000000..9e290a5
--- /dev/null
+++ b/debian/patches/0005-Change-boost-shared_ptr-to-urdf-JointConstSharedPtr.patch
@@ -0,0 +1,21 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Sun, 4 Dec 2016 17:04:09 +0100
+Subject: Change boost::shared_ptr to urdf::JointConstSharedPtr
+
+---
+ gazebo_ros_control/src/default_robot_hw_sim.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gazebo_ros_control/src/default_robot_hw_sim.cpp b/gazebo_ros_control/src/default_robot_hw_sim.cpp
+index 1d9418d..32958a1 100644
+--- a/gazebo_ros_control/src/default_robot_hw_sim.cpp
++++ b/gazebo_ros_control/src/default_robot_hw_sim.cpp
+@@ -381,7 +381,7 @@ void DefaultRobotHWSim::registerJointLimits(const std::string& joint_name,
+ 
+   if (urdf_model != NULL)
+   {
+-    const boost::shared_ptr<const urdf::Joint> urdf_joint = urdf_model->getJoint(joint_name);
++    const urdf::JointConstSharedPtr urdf_joint = urdf_model->getJoint(joint_name);
+     if (urdf_joint != NULL)
+     {
+       *joint_type = urdf_joint->type;
diff --git a/debian/patches/series b/debian/patches/series
index 544f9f1..0c516ba 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-Add-Debian-specific-SONAMEs.patch
 0003-Add-Debian-specific-SONAMEs.patch
 0004-Add-Debian-specific-SONAMEs.patch
+0005-Change-boost-shared_ptr-to-urdf-JointConstSharedPtr.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-gazebo-ros-pkgs.git



More information about the debian-science-commits mailing list