dev-ros/monocam_settler: Fix build with gcc6.
authorAlexis Ballier <aballier@gentoo.org>
Tue, 24 Jan 2017 10:17:21 +0000 (11:17 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 24 Jan 2017 10:36:56 +0000 (11:36 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

dev-ros/monocam_settler/files/gcc6.patch [new file with mode: 0644]
dev-ros/monocam_settler/monocam_settler-0.10.14.ebuild

diff --git a/dev-ros/monocam_settler/files/gcc6.patch b/dev-ros/monocam_settler/files/gcc6.patch
new file mode 100644 (file)
index 0000000..35c84d1
--- /dev/null
@@ -0,0 +1,22 @@
+Index: monocam_settler/CMakeLists.txt
+===================================================================
+--- monocam_settler.orig/CMakeLists.txt
++++ monocam_settler/CMakeLists.txt
+@@ -16,7 +16,7 @@ catkin_package(DEPENDS actionlib actionl
+ )
+-include_directories(SYSTEM ${catkin_INCLUDE_DIRS})
++include_directories(${catkin_INCLUDE_DIRS})
+ include_directories(include)
+ # deal with the include
+@@ -33,7 +33,7 @@ install(TARGETS ${PROJECT_NAME}
+ )
+ # deal with the executable
+-include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
++include_directories(${Boost_INCLUDE_DIRS})
+ add_executable(monocam_settler_action src/monocam_settler_action.cpp)
+ target_link_libraries(monocam_settler_action ${Boost_LIBRARIES}
+                                              ${catkin_LIBRARIES}
index b413582608f7349c8b60ccffa92e11b7870fb3c4..2352f5e16e03110e2f6686634ee57b24e550045a 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 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        test? ( dev-cpp/gtest )"
+PATCHES=( "${FILESDIR}/gcc6.patch" )