summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-10-06 13:55:47 +0200
committerAlexis Ballier <aballier@gentoo.org>2016-10-06 14:51:54 +0200
commit3bae47de2cc5ffeab8c2e9da928f4b66442e1814 (patch)
tree18e30b9ae0dea4b479794e5f24774e4b03417d44
parentdev-lang/yap: disable outdated gecode bindings. Closes #590960 (diff)
downloadgentoo-3bae47de2cc5ffeab8c2e9da928f4b66442e1814.tar.gz
gentoo-3bae47de2cc5ffeab8c2e9da928f4b66442e1814.tar.bz2
gentoo-3bae47de2cc5ffeab8c2e9da928f4b66442e1814.zip
sci-electronics/gazebo: fix build with boost 1.62
Package-Manager: portage-2.3.1
-rw-r--r--sci-electronics/gazebo/files/boost162.patch12
-rw-r--r--sci-electronics/gazebo/gazebo-7.3.1.ebuild2
2 files changed, 13 insertions, 1 deletions
diff --git a/sci-electronics/gazebo/files/boost162.patch b/sci-electronics/gazebo/files/boost162.patch
new file mode 100644
index 00000000000..e91643fbef4
--- /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 cdc015cda20..01d18e8d6f1 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