summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ros/urdf_parser_plugin')
-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" )