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

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

diff --git a/dev-ros/laser_cb_detector/files/gcc6.patch b/dev-ros/laser_cb_detector/files/gcc6.patch
new file mode 100644 (file)
index 0000000..6580ca5
--- /dev/null
@@ -0,0 +1,13 @@
+Index: laser_cb_detector/CMakeLists.txt
+===================================================================
+--- laser_cb_detector.orig/CMakeLists.txt
++++ laser_cb_detector/CMakeLists.txt
+@@ -15,7 +15,7 @@ catkin_package(DEPENDS actionlib actionl
+ )
+ find_package(OpenCV REQUIRED)
+-include_directories(SYSTEM ${catkin_INCLUDE_DIRS}
++include_directories(${catkin_INCLUDE_DIRS}
+                            ${OpenCV_INCLUDE_DIRS}
+ )
+ include_directories(include)
index 6cecd2724ce330ececa074bc92ae8f3cc85162fc..ccd9c34bd21ee2e8f41b6e7b0ba835689cd5bf92 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$
 
@@ -27,3 +27,4 @@ RDEPEND="
        dev-ros/settlerlib
 "
 DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/gcc6.patch" )
index 6cecd2724ce330ececa074bc92ae8f3cc85162fc..ccd9c34bd21ee2e8f41b6e7b0ba835689cd5bf92 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$
 
@@ -27,3 +27,4 @@ RDEPEND="
        dev-ros/settlerlib
 "
 DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/gcc6.patch" )