summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-07-26 09:05:44 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-07-26 11:18:30 +0200
commita1c55aa9f834f1a34291b18f9b2fb8753f3b58f6 (patch)
tree287d8dd3b1ecc233bca2d339435446a2614c316f
parentdev-ros/urdf_parser_plugin: remove old (diff)
downloadgentoo-a1c55aa9f834f1a34291b18f9b2fb8753f3b58f6.tar.gz
gentoo-a1c55aa9f834f1a34291b18f9b2fb8753f3b58f6.tar.bz2
gentoo-a1c55aa9f834f1a34291b18f9b2fb8753f3b58f6.zip
dev-ros/urdf_parser_plugin: add patch to fix urdfdom 1 support.
Package-Manager: portage-2.3.0
-rw-r--r--dev-ros/urdf_parser_plugin/files/urdfdom1.patch13
-rw-r--r--dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3-r1.ebuild (renamed from dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3.ebuild)3
2 files changed, 15 insertions, 1 deletions
diff --git a/dev-ros/urdf_parser_plugin/files/urdfdom1.patch b/dev-ros/urdf_parser_plugin/files/urdfdom1.patch
new file mode 100644
index 000000000000..ce4413d03144
--- /dev/null
+++ b/dev-ros/urdf_parser_plugin/files/urdfdom1.patch
@@ -0,0 +1,13 @@
+Index: urdf_parser_plugin/include/urdf_parser_plugin/parser.h
+===================================================================
+--- urdf_parser_plugin.orig/include/urdf_parser_plugin/parser.h
++++ urdf_parser_plugin/include/urdf_parser_plugin/parser.h
+@@ -54,7 +54,7 @@ public:
+ }
+
+ /// \brief Load Model from string
+- virtual boost::shared_ptr<ModelInterface> parse(const std::string &xml_string) = 0;
++ virtual std::shared_ptr<ModelInterface> parse(const std::string &xml_string) = 0;
+ };
+
+ }
diff --git a/dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3.ebuild b/dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3-r1.ebuild
index 345ecadb9984..c486b73bc1c4 100644
--- a/dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3.ebuild
+++ b/dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3-r1.ebuild
@@ -14,5 +14,6 @@ LICENSE="BSD"
SLOT="0"
IUSE=""
-RDEPEND="dev-libs/urdfdom_headers"
+RDEPEND=">=dev-libs/urdfdom_headers-1.0"
DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/urdfdom1.patch" )