commit:     3bae47de2cc5ffeab8c2e9da928f4b66442e1814
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  6 11:55:47 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Thu Oct  6 12:51:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bae47de

sci-electronics/gazebo: fix build with boost 1.62

Package-Manager: portage-2.3.1

 sci-electronics/gazebo/files/boost162.patch | 12 ++++++++++++
 sci-electronics/gazebo/gazebo-7.3.1.ebuild  |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/sci-electronics/gazebo/files/boost162.patch 
b/sci-electronics/gazebo/files/boost162.patch
new file mode 100644
index 00000000..e91643f
--- /dev/null
+++ b/sci-electronics/gazebo/files/boost162.patch
@@ -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

diff --git a/sci-electronics/gazebo/gazebo-7.3.1.ebuild 
b/sci-electronics/gazebo/gazebo-7.3.1.ebuild
index cdc015c..01d18e8 100644
--- a/sci-electronics/gazebo/gazebo-7.3.1.ebuild
+++ b/sci-electronics/gazebo/gazebo-7.3.1.ebuild
@@ -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

Reply via email to