dev-ros/test_nodelet: Fix build with gcc6.
authorAlexis Ballier <aballier@gentoo.org>
Mon, 20 Feb 2017 13:29:11 +0000 (14:29 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 20 Feb 2017 15:21:44 +0000 (16:21 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-ros/test_nodelet/files/gcc6.patch [new file with mode: 0644]
dev-ros/test_nodelet/test_nodelet-1.9.9.ebuild
dev-ros/test_nodelet/test_nodelet-9999.ebuild

diff --git a/dev-ros/test_nodelet/files/gcc6.patch b/dev-ros/test_nodelet/files/gcc6.patch
new file mode 100644 (file)
index 0000000..102fe01
--- /dev/null
@@ -0,0 +1,13 @@
+Index: test_nodelet/CMakeLists.txt
+===================================================================
+--- test_nodelet.orig/CMakeLists.txt
++++ test_nodelet/CMakeLists.txt
+@@ -8,7 +8,7 @@ catkin_package()
+ if(CATKIN_ENABLE_TESTING)
+   find_package(Boost REQUIRED thread)
+   find_package(catkin REQUIRED nodelet pluginlib rostest)
+-  include_directories(SYSTEM ${BOOST_INCLUDE_DIRS}
++  include_directories(${BOOST_INCLUDE_DIRS}
+                              ${catkin_INCLUDE_DIRS}
+   )
index 547c1b84034ec59f63898429dc84d2a6bc4d5baf..dbc34918a1362924a67afd620eb8a119a611179a 100644 (file)
@@ -26,3 +26,4 @@ DEPEND="${RDEPEND}
                dev-ros/rosbash
        )
 "
+PATCHES=( "${FILESDIR}/gcc6.patch" )
index 4de9404655c0b9177b0d302aca2acb82b9957613..dbc34918a1362924a67afd620eb8a119a611179a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -26,3 +26,4 @@ DEPEND="${RDEPEND}
                dev-ros/rosbash
        )
 "
+PATCHES=( "${FILESDIR}/gcc6.patch" )