dev-ros/image_cb_detector: Fix build with gcc6.
authorAlexis Ballier <aballier@gentoo.org>
Fri, 27 Jan 2017 09:22:20 +0000 (10:22 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 27 Jan 2017 09:34:26 +0000 (10:34 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

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

diff --git a/dev-ros/image_cb_detector/files/gcc6.patch b/dev-ros/image_cb_detector/files/gcc6.patch
new file mode 100644 (file)
index 0000000..af68c1e
--- /dev/null
@@ -0,0 +1,13 @@
+Index: image_cb_detector/CMakeLists.txt
+===================================================================
+--- image_cb_detector.orig/CMakeLists.txt
++++ image_cb_detector/CMakeLists.txt
+@@ -24,7 +24,7 @@ catkin_package(INCLUDE_DIRS include
+ # define some includes
+ include_directories(include)
+-include_directories(SYSTEM ${Boost_INCLUDE_DIRS}
++include_directories(${Boost_INCLUDE_DIRS}
+                            ${catkin_INCLUDE_DIRS}
+                            ${OpenCV_INCLUDE_DIRS}
+ )
index 54172203fc68668a3acc098a8e71281c374361bc..972abdce8d2f6d138dec7a72040d6cc05eb93fe7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -29,3 +29,4 @@ RDEPEND="
        dev-libs/boost:=[threads]
 "
 DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/gcc6.patch" )
index 54172203fc68668a3acc098a8e71281c374361bc..972abdce8d2f6d138dec7a72040d6cc05eb93fe7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -29,3 +29,4 @@ RDEPEND="
        dev-libs/boost:=[threads]
 "
 DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/gcc6.patch" )