From: "Alexis Ballier" <aballier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/joint_limits_interface/files/, dev-ros/joint_limits_interface/
Date: Tue, 26 Jul 2016 09:24:50 +0000 (UTC) [thread overview]
Message-ID: <1469524710.55cf1fe446a16aef78194e5db37ce6a688dc858a.aballier@gentoo> (raw)
commit: 55cf1fe446a16aef78194e5db37ce6a688dc858a
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 26 08:58:26 2016 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Jul 26 09:18:30 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55cf1fe4
dev-ros/joint_limits_interface: fix build with urdfdom1.
Package-Manager: portage-2.3.0
.../joint_limits_interface/files/urdfdom1.patch | 22 ++++++++++++++++++++++
...ild => joint_limits_interface-0.11.0-r1.ebuild} | 3 ++-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/dev-ros/joint_limits_interface/files/urdfdom1.patch b/dev-ros/joint_limits_interface/files/urdfdom1.patch
new file mode 100644
index 0000000..b63fe13
--- /dev/null
+++ b/dev-ros/joint_limits_interface/files/urdfdom1.patch
@@ -0,0 +1,22 @@
+Index: joint_limits_interface/include/joint_limits_interface/joint_limits_urdf.h
+===================================================================
+--- joint_limits_interface.orig/include/joint_limits_interface/joint_limits_urdf.h
++++ joint_limits_interface/include/joint_limits_interface/joint_limits_urdf.h
+@@ -48,7 +48,7 @@ namespace joint_limits_interface
+ * values. Values in \e limits not present in \e urdf_joint remain unchanged.
+ * \return True if \e urdf_joint has a valid limits specification, false otherwise.
+ */
+-inline bool getJointLimits(boost::shared_ptr<const urdf::Joint> urdf_joint, JointLimits& limits)
++inline bool getJointLimits(std::shared_ptr<const urdf::Joint> urdf_joint, JointLimits& limits)
+ {
+ if (!urdf_joint || !urdf_joint->limits)
+ {
+@@ -84,7 +84,7 @@ inline bool getJointLimits(boost::shared
+ * \param[out] soft_limits Where URDF soft joint limit data gets written into.
+ * \return True if \e urdf_joint has a valid soft limits specification, false otherwise.
+ */
+-inline bool getSoftJointLimits(boost::shared_ptr<const urdf::Joint> urdf_joint, SoftJointLimits& soft_limits)
++inline bool getSoftJointLimits(std::shared_ptr<const urdf::Joint> urdf_joint, SoftJointLimits& soft_limits)
+ {
+ if (!urdf_joint || !urdf_joint->safety)
+ {
diff --git a/dev-ros/joint_limits_interface/joint_limits_interface-0.11.0.ebuild b/dev-ros/joint_limits_interface/joint_limits_interface-0.11.0-r1.ebuild
similarity index 88%
rename from dev-ros/joint_limits_interface/joint_limits_interface-0.11.0.ebuild
rename to dev-ros/joint_limits_interface/joint_limits_interface-0.11.0-r1.ebuild
index 0f9aa3c..2a65e6d 100644
--- a/dev-ros/joint_limits_interface/joint_limits_interface-0.11.0.ebuild
+++ b/dev-ros/joint_limits_interface/joint_limits_interface-0.11.0-r1.ebuild
@@ -18,7 +18,8 @@ IUSE=""
RDEPEND="
dev-ros/roscpp
dev-ros/hardware_interface
- dev-libs/urdfdom
+ >=dev-libs/urdfdom-1
"
DEPEND="${RDEPEND}
test? ( dev-ros/rostest dev-cpp/gtest )"
+PATCHES=( "${FILESDIR}/urdfdom1.patch" )
reply other threads:[~2016-07-26 9:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1469524710.55cf1fe446a16aef78194e5db37ce6a688dc858a.aballier@gentoo \
--to=aballier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox