From 8a72cd8531e1e94b51a8971cae0db6bbe2203dba Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Tue, 24 Jan 2017 11:17:21 +0100 Subject: dev-ros/monocam_settler: Fix build with gcc6. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-ros/monocam_settler/files/gcc6.patch | 22 ++++++++++++++++++++++ .../monocam_settler/monocam_settler-0.10.14.ebuild | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 dev-ros/monocam_settler/files/gcc6.patch (limited to 'dev-ros/monocam_settler') diff --git a/dev-ros/monocam_settler/files/gcc6.patch b/dev-ros/monocam_settler/files/gcc6.patch new file mode 100644 index 000000000000..35c84d1fa40f --- /dev/null +++ b/dev-ros/monocam_settler/files/gcc6.patch @@ -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} diff --git a/dev-ros/monocam_settler/monocam_settler-0.10.14.ebuild b/dev-ros/monocam_settler/monocam_settler-0.10.14.ebuild index b413582608f7..2352f5e16e03 100644 --- a/dev-ros/monocam_settler/monocam_settler-0.10.14.ebuild +++ b/dev-ros/monocam_settler/monocam_settler-0.10.14.ebuild @@ -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" ) -- cgit v1.2.3-65-gdbad