1 |
commit: a1c55aa9f834f1a34291b18f9b2fb8753f3b58f6 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 26 07:05:44 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 26 09:18:30 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1c55aa9 |
7 |
|
8 |
dev-ros/urdf_parser_plugin: add patch to fix urdfdom 1 support. |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
dev-ros/urdf_parser_plugin/files/urdfdom1.patch | 13 +++++++++++++ |
13 |
...in-1.12.3.ebuild => urdf_parser_plugin-1.12.3-r1.ebuild} | 3 ++- |
14 |
2 files changed, 15 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-ros/urdf_parser_plugin/files/urdfdom1.patch b/dev-ros/urdf_parser_plugin/files/urdfdom1.patch |
17 |
new file mode 100644 |
18 |
index 0000000..ce4413d |
19 |
--- /dev/null |
20 |
+++ b/dev-ros/urdf_parser_plugin/files/urdfdom1.patch |
21 |
@@ -0,0 +1,13 @@ |
22 |
+Index: urdf_parser_plugin/include/urdf_parser_plugin/parser.h |
23 |
+=================================================================== |
24 |
+--- urdf_parser_plugin.orig/include/urdf_parser_plugin/parser.h |
25 |
++++ urdf_parser_plugin/include/urdf_parser_plugin/parser.h |
26 |
+@@ -54,7 +54,7 @@ public: |
27 |
+ } |
28 |
+ |
29 |
+ /// \brief Load Model from string |
30 |
+- virtual boost::shared_ptr<ModelInterface> parse(const std::string &xml_string) = 0; |
31 |
++ virtual std::shared_ptr<ModelInterface> parse(const std::string &xml_string) = 0; |
32 |
+ }; |
33 |
+ |
34 |
+ } |
35 |
|
36 |
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 |
37 |
similarity index 80% |
38 |
rename from dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3.ebuild |
39 |
rename to dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3-r1.ebuild |
40 |
index 345ecad..c486b73 100644 |
41 |
--- a/dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3.ebuild |
42 |
+++ b/dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3-r1.ebuild |
43 |
@@ -14,5 +14,6 @@ LICENSE="BSD" |
44 |
SLOT="0" |
45 |
IUSE="" |
46 |
|
47 |
-RDEPEND="dev-libs/urdfdom_headers" |
48 |
+RDEPEND=">=dev-libs/urdfdom_headers-1.0" |
49 |
DEPEND="${RDEPEND}" |
50 |
+PATCHES=( "${FILESDIR}/urdfdom1.patch" ) |