1 |
commit: 39f0ec6b35c3170d809d22dc66cb3233fb7ed3d2 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 14 13:36:11 2016 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 14 13:36:11 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f0ec6b |
7 |
|
8 |
dev-ros/tf: backport upstream patch to build with gcc6, bug #593938, patch by Peter Levine |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
dev-ros/tf/files/gcc6.patch | 22 ++++++++++++++++++++++ |
13 |
dev-ros/tf/tf-1.11.8.ebuild | 3 ++- |
14 |
2 files changed, 24 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-ros/tf/files/gcc6.patch b/dev-ros/tf/files/gcc6.patch |
17 |
new file mode 100644 |
18 |
index 00000000..72b32bd |
19 |
--- /dev/null |
20 |
+++ b/dev-ros/tf/files/gcc6.patch |
21 |
@@ -0,0 +1,22 @@ |
22 |
+commit b0d31cc1e9a43b45d216ee7f804e901a5c0f8936 |
23 |
+Author: Hodorgasm <nsane457@×××××.com> |
24 |
+Date: Mon Sep 19 17:58:22 2016 -0400 |
25 |
+ |
26 |
+ Fix "stdlib.h: No such file or directory" errors in GCC-6 |
27 |
+ |
28 |
+ Including '-isystem /usr/include' breaks building with GCC-6. |
29 |
+ See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129 |
30 |
+ |
31 |
+diff --git a/tf/CMakeLists.txt b/tf/CMakeLists.txt |
32 |
+index 8077561..cf72127 100644 |
33 |
+--- a/tf/CMakeLists.txt |
34 |
++++ b/tf/CMakeLists.txt |
35 |
+@@ -8,7 +8,7 @@ find_package(catkin COMPONENTS angles geometry_msgs message_filters message_gene |
36 |
+ |
37 |
+ catkin_python_setup() |
38 |
+ |
39 |
+-include_directories(SYSTEM ${Boost_INCLUDE_DIR} |
40 |
++include_directories(${Boost_INCLUDE_DIR} |
41 |
+ ${catkin_INCLUDE_DIRS} |
42 |
+ ) |
43 |
+ include_directories(include) |
44 |
|
45 |
diff --git a/dev-ros/tf/tf-1.11.8.ebuild b/dev-ros/tf/tf-1.11.8.ebuild |
46 |
index f81e4cc..573a9d8 100644 |
47 |
--- a/dev-ros/tf/tf-1.11.8.ebuild |
48 |
+++ b/dev-ros/tf/tf-1.11.8.ebuild |
49 |
@@ -1,4 +1,4 @@ |
50 |
-# Copyright 1999-2014 Gentoo Foundation |
51 |
+# Copyright 1999-2016 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Id$ |
54 |
|
55 |
@@ -37,3 +37,4 @@ DEPEND="${RDEPEND} |
56 |
dev-cpp/gtest |
57 |
dev-python/nose[${PYTHON_USEDEP}] |
58 |
)" |
59 |
+PATCHES=( "${FILESDIR}/gcc6.patch" ) |