sci-electronics/gazebo: fix build with boost 1.62
authorAlexis Ballier <aballier@gentoo.org>
Thu, 6 Oct 2016 11:55:47 +0000 (13:55 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Thu, 6 Oct 2016 12:51:54 +0000 (14:51 +0200)
Package-Manager: portage-2.3.1

sci-electronics/gazebo/files/boost162.patch [new file with mode: 0644]
sci-electronics/gazebo/gazebo-7.3.1.ebuild

diff --git a/sci-electronics/gazebo/files/boost162.patch b/sci-electronics/gazebo/files/boost162.patch
new file mode 100644 (file)
index 0000000..e91643f
--- /dev/null
@@ -0,0 +1,12 @@
+Index: gazebo-7.3.1/gazebo/rendering/Camera.cc
+===================================================================
+--- gazebo-7.3.1.orig/gazebo/rendering/Camera.cc
++++ gazebo-7.3.1/gazebo/rendering/Camera.cc
+@@ -25,6 +25,7 @@
+ #include <boost/algorithm/string.hpp>
+ #include <boost/filesystem.hpp>
++#include <boost/format.hpp>
+ #include <sdf/sdf.hh>
+ #ifndef _WIN32
index cdc015cda205e60df74b54308c935f1e6cd6b968..01d18e8d6f14da0c2cbde315feb7c4d51821b5b1 100644 (file)
@@ -54,7 +54,7 @@ DEPEND="${RDEPEND}
        test? ( dev-libs/libxslt )
 "
 CMAKE_BUILD_TYPE=RelWithDebInfo
-PATCHES=( "${FILESDIR}/tinyxml2.patch" )
+PATCHES=( "${FILESDIR}/tinyxml2.patch" "${FILESDIR}/boost162.patch" )
 
 src_configure() {
        # doesnt build without it