dev-ros/urdf_parser_plugin: add patch to fix urdfdom 1 support.
authorAlexis Ballier <aballier@gentoo.org>
Tue, 26 Jul 2016 07:05:44 +0000 (09:05 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 26 Jul 2016 09:18:30 +0000 (11:18 +0200)
Package-Manager: portage-2.3.0

dev-ros/urdf_parser_plugin/files/urdfdom1.patch [new file with mode: 0644]
dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3-r1.ebuild [moved from dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3.ebuild with 80% similarity]

diff --git a/dev-ros/urdf_parser_plugin/files/urdfdom1.patch b/dev-ros/urdf_parser_plugin/files/urdfdom1.patch
new file mode 100644 (file)
index 0000000..ce4413d
--- /dev/null
@@ -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;
+ };
+   
+ }
similarity index 80%
rename from dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3.ebuild
rename to dev-ros/urdf_parser_plugin/urdf_parser_plugin-1.12.3-r1.ebuild
index 345ecadb99843934129fd24c77f69ab099dcfa0d..c486b73bc1c46035b7add3dbdec15402a5cc3586 100644 (file)
@@ -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" )