public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-ros/rosconsole/, dev-ros/rosconsole/files/
@ 2016-10-05 15:09 Alexis Ballier
  0 siblings, 0 replies; only message in thread
From: Alexis Ballier @ 2016-10-05 15:09 UTC (permalink / raw
  To: gentoo-commits

commit:     d06df890c51edeed97d412366e6e9d868808b136
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  5 15:08:39 2016 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Wed Oct  5 15:09:25 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d06df890

dev-ros/rosconsole: fix build with latest boost/gcc6, bug #595818. Patch by Peter Levine.

Package-Manager: portage-2.3.1

 dev-ros/rosconsole/files/vector.patch       | 20 ++++++++++++++++++++
 dev-ros/rosconsole/rosconsole-1.12.5.ebuild |  1 +
 2 files changed, 21 insertions(+)

diff --git a/dev-ros/rosconsole/files/vector.patch b/dev-ros/rosconsole/files/vector.patch
new file mode 100644
index 00000000..0b62a88
--- /dev/null
+++ b/dev-ros/rosconsole/files/vector.patch
@@ -0,0 +1,20 @@
+commit 74674c49a64abbdcdd5aeea016997af2959c6f05
+Author: Hodorgasm <nsane457@gmail.com>
+Date:   Mon Oct 3 20:32:20 2016 -0400
+
+    Add '#Include <vector>' to fix building on GCC-6
+    
+    Don't rely on transitive header inclusion to declare std::vector as building with GCC-6 fails due to no '#Include <vector>' statement.
+
+diff --git a/tools/rosconsole/include/ros/console.h b/tools/rosconsole/include/ros/console.h
+index 4d2a86b..28901d7 100644
+--- a/tools/rosconsole/include/ros/console.h
++++ b/tools/rosconsole/include/ros/console.h
+@@ -40,6 +40,7 @@
+ #include <cstdarg>
+ #include <ros/macros.h>
+ #include <map>
++#include <vector>
+ 
+ #ifdef ROSCONSOLE_BACKEND_LOG4CXX
+ #include "log4cxx/level.h"

diff --git a/dev-ros/rosconsole/rosconsole-1.12.5.ebuild b/dev-ros/rosconsole/rosconsole-1.12.5.ebuild
index 39a48ae..a3e85a1 100644
--- a/dev-ros/rosconsole/rosconsole-1.12.5.ebuild
+++ b/dev-ros/rosconsole/rosconsole-1.12.5.ebuild
@@ -24,6 +24,7 @@ RDEPEND="
 	!log4cxx? ( glog? ( dev-cpp/glog ) )
 "
 DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/vector.patch" )
 
 src_configure() {
 	local ROSCONSOLE_BACKEND=""


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-05 15:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-05 15:09 [gentoo-commits] repo/gentoo:master commit in: dev-ros/rosconsole/, dev-ros/rosconsole/files/ Alexis Ballier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox