dev-ros/fake_localization: fix build with boost 1.70
authorAlexis Ballier <aballier@gentoo.org>
Wed, 28 Aug 2019 17:11:54 +0000 (19:11 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Wed, 28 Aug 2019 17:23:50 +0000 (19:23 +0200)
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ros/fake_localization/fake_localization-1.16.2.ebuild
dev-ros/fake_localization/files/boost170.patch [new file with mode: 0644]

index 0c7895911491ec09134e862c7bf4b86dd1d27210..946772aaddd89dedae76750b47cc0526db4dae11 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -27,3 +27,4 @@ RDEPEND="
        dev-ros/tf2_geometry_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
 "
 DEPEND="${RDEPEND}"
+PATCHES=( "${FILESDIR}/boost170.patch" )
diff --git a/dev-ros/fake_localization/files/boost170.patch b/dev-ros/fake_localization/files/boost170.patch
new file mode 100644 (file)
index 0000000..b7f877a
--- /dev/null
@@ -0,0 +1,13 @@
+Index: fake_localization/CMakeLists.txt
+===================================================================
+--- fake_localization.orig/CMakeLists.txt
++++ fake_localization/CMakeLists.txt
+@@ -14,7 +14,7 @@ find_package(catkin REQUIRED
+         )
+-find_package(Boost REQUIRED COMPONENTS signals)
++find_package(Boost REQUIRED COMPONENTS)
+ catkin_package(
+     CATKIN_DEPENDS