From 35fff873028857dedf712c32d0615a1c2e86e71f Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 7 Jul 2017 20:10:57 +0200 Subject: dev-ros/pr2_description: fix building tests; they still fail though. Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- dev-ros/pr2_description/files/tests.patch | 13 +++++++++++++ dev-ros/pr2_description/pr2_description-1.12.0.ebuild | 3 ++- dev-ros/pr2_description/pr2_description-9999.ebuild | 3 ++- 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 dev-ros/pr2_description/files/tests.patch (limited to 'dev-ros/pr2_description') diff --git a/dev-ros/pr2_description/files/tests.patch b/dev-ros/pr2_description/files/tests.patch new file mode 100644 index 000000000000..40c3a378d45d --- /dev/null +++ b/dev-ros/pr2_description/files/tests.patch @@ -0,0 +1,13 @@ +Index: pr2_common-1.12.0/pr2_description/test/test_urdf.cpp +=================================================================== +--- pr2_common-1.12.0.orig/pr2_description/test/test_urdf.cpp ++++ pr2_common-1.12.0/pr2_description/test/test_urdf.cpp +@@ -100,7 +100,7 @@ int walker( std::string & result, int& t + } + xml_file.close(); + +- boost::shared_ptr robot = urdf::parseURDF(xml_string); ++ std::shared_ptr robot = urdf::parseURDF(xml_string); + if (!robot) test_result = test_result || 1; + + } diff --git a/dev-ros/pr2_description/pr2_description-1.12.0.ebuild b/dev-ros/pr2_description/pr2_description-1.12.0.ebuild index 75466430c059..1a73af70cf05 100644 --- a/dev-ros/pr2_description/pr2_description-1.12.0.ebuild +++ b/dev-ros/pr2_description/pr2_description-1.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -19,3 +19,4 @@ DEPEND="${RDEPEND} dev-ros/convex_decomposition dev-ros/ivcon test? ( dev-libs/urdfdom dev-cpp/gtest )" +PATCHES=( "${FILESDIR}/tests.patch" ) diff --git a/dev-ros/pr2_description/pr2_description-9999.ebuild b/dev-ros/pr2_description/pr2_description-9999.ebuild index 75466430c059..1a73af70cf05 100644 --- a/dev-ros/pr2_description/pr2_description-9999.ebuild +++ b/dev-ros/pr2_description/pr2_description-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -19,3 +19,4 @@ DEPEND="${RDEPEND} dev-ros/convex_decomposition dev-ros/ivcon test? ( dev-libs/urdfdom dev-cpp/gtest )" +PATCHES=( "${FILESDIR}/tests.patch" ) -- cgit v1.2.3-65-gdbad