From 3bae47de2cc5ffeab8c2e9da928f4b66442e1814 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 6 Oct 2016 13:55:47 +0200 Subject: [PATCH] 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(-) create mode 100644 sci-electronics/gazebo/files/boost162.patch diff --git a/sci-electronics/gazebo/files/boost162.patch b/sci-electronics/gazebo/files/boost162.patch new file mode 100644 index 000000000000..e91643fbef44 --- /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 + #include ++#include + #include + + #ifndef _WIN32 diff --git a/sci-electronics/gazebo/gazebo-7.3.1.ebuild b/sci-electronics/gazebo/gazebo-7.3.1.ebuild index cdc015cda205..01d18e8d6f14 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 -- 2.26.2