From 31ce1dae23bd03ec2574954863984d97c90de5e5 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Thu, 16 Jul 2020 17:59:53 +0200 Subject: dev-ros/laser_filters: fix build Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Alexis Ballier --- dev-ros/laser_filters/files/eigen.patch | 15 +++++++++++++++ dev-ros/laser_filters/laser_filters-1.8.11.ebuild | 2 ++ dev-ros/laser_filters/laser_filters-9999.ebuild | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 dev-ros/laser_filters/files/eigen.patch (limited to 'dev-ros/laser_filters') 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" ) -- cgit v1.2.3-65-gdbad