summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-07-16 17:59:53 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-07-16 18:30:52 +0200
commit31ce1dae23bd03ec2574954863984d97c90de5e5 (patch)
tree0a71098add6cfd1a8b3e65ccb7b3da4713ed5373 /dev-ros/laser_filters
parentdev-ros/laser_assembler: Remove old (diff)
downloadgentoo-31ce1dae23bd03ec2574954863984d97c90de5e5.tar.gz
gentoo-31ce1dae23bd03ec2574954863984d97c90de5e5.tar.bz2
gentoo-31ce1dae23bd03ec2574954863984d97c90de5e5.zip
dev-ros/laser_filters: fix build
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/laser_filters')
-rw-r--r--dev-ros/laser_filters/files/eigen.patch15
-rw-r--r--dev-ros/laser_filters/laser_filters-1.8.11.ebuild2
-rw-r--r--dev-ros/laser_filters/laser_filters-9999.ebuild2
3 files changed, 19 insertions, 0 deletions
diff --git a/dev-ros/laser_filters/files/eigen.patch b/dev-ros/laser_filters/files/eigen.patch
new file mode 100644
index 000000000000..1ad02504218b
--- /dev/null
+++ b/dev-ros/laser_filters/files/eigen.patch
@@ -0,0 +1,15 @@
+Index: laser_filters-1.8.11/CMakeLists.txt
+===================================================================
+--- laser_filters-1.8.11.orig/CMakeLists.txt
++++ laser_filters-1.8.11/CMakeLists.txt
+@@ -12,7 +12,9 @@ set(THIS_PACKAGE_ROS_DEPS sensor_msgs ro
+
+ find_package(catkin REQUIRED COMPONENTS ${THIS_PACKAGE_ROS_DEPS})
+ find_package(Boost REQUIRED COMPONENTS system)
+-include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
++find_package(Eigen3 REQUIRED)
++add_definitions(${EIGEN3_DEFINITIONS})
++include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${EIGEN3_INCLUDE_DIR})
+
+ ##############################################################################
+ # Define package
diff --git a/dev-ros/laser_filters/laser_filters-1.8.11.ebuild b/dev-ros/laser_filters/laser_filters-1.8.11.ebuild
index 3ca01ae259e5..3dcc6e50c50e 100644
--- a/dev-ros/laser_filters/laser_filters-1.8.11.ebuild
+++ b/dev-ros/laser_filters/laser_filters-1.8.11.ebuild
@@ -23,5 +23,7 @@ RDEPEND="
dev-libs/console_bridge:=
"
DEPEND="${RDEPEND}
+ dev-cpp/eigen:3
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
test? ( dev-ros/rostest[${PYTHON_USEDEP}] )"
+PATCHES=( "${FILESDIR}/eigen.patch" )
diff --git a/dev-ros/laser_filters/laser_filters-9999.ebuild b/dev-ros/laser_filters/laser_filters-9999.ebuild
index 3ca01ae259e5..3dcc6e50c50e 100644
--- a/dev-ros/laser_filters/laser_filters-9999.ebuild
+++ b/dev-ros/laser_filters/laser_filters-9999.ebuild
@@ -23,5 +23,7 @@ RDEPEND="
dev-libs/console_bridge:=
"
DEPEND="${RDEPEND}
+ dev-cpp/eigen:3
dev-ros/sensor_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
test? ( dev-ros/rostest[${PYTHON_USEDEP}] )"
+PATCHES=( "${FILESDIR}/eigen.patch" )