dev-ros/test_diagnostic_aggregator: fix build with gcc6, bug #594192
authorAlexis Ballier <aballier@gentoo.org>
Fri, 14 Oct 2016 13:52:29 +0000 (15:52 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 14 Oct 2016 13:52:36 +0000 (15:52 +0200)
Package-Manager: portage-2.3.2

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

diff --git a/dev-ros/test_diagnostic_aggregator/files/gcc6.patch b/dev-ros/test_diagnostic_aggregator/files/gcc6.patch
new file mode 100644 (file)
index 0000000..2819dec
--- /dev/null
@@ -0,0 +1,13 @@
+Index: test_diagnostic_aggregator/CMakeLists.txt
+===================================================================
+--- test_diagnostic_aggregator.orig/CMakeLists.txt
++++ test_diagnostic_aggregator/CMakeLists.txt
+@@ -9,7 +9,7 @@ catkin_package(DEPENDS diagnostic_aggreg
+                LIBRARIES ${PROJECT_NAME}
+ )
+ 
+-include_directories(SYSTEM ${catkin_INCLUDE_DIRS})
++include_directories(${catkin_INCLUDE_DIRS})
+ include_directories(include)
+ 
+ add_library(test_diagnostic_aggregator
index 79de6b78377a238ef17fd93ae842f85c565d0c4a..a8d941f87b4ceab2407620438127298057952aca 100644 (file)
@@ -23,3 +23,4 @@ RDEPEND="
        dev-ros/rostest
 "
 DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/gcc6.patch" )