summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2020-08-24 15:24:14 +0200
committerAlexis Ballier <aballier@gentoo.org>2020-08-24 15:44:35 +0200
commitdf621ad3b75dc50e7682c3090903c6d1ef8929e0 (patch)
tree3ec740254540f4deacaba938b503baafafc66252 /dev-ros/geometric_shapes
parentdev-ros/kdl_parser: fix tests (diff)
downloadgentoo-df621ad3b75dc50e7682c3090903c6d1ef8929e0.tar.gz
gentoo-df621ad3b75dc50e7682c3090903c6d1ef8929e0.tar.bz2
gentoo-df621ad3b75dc50e7682c3090903c6d1ef8929e0.zip
dev-ros/geometric_shapes: use c++17
Closes: https://bugs.gentoo.org/738556 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ros/geometric_shapes')
-rw-r--r--dev-ros/geometric_shapes/geometric_shapes-0.7.0.ebuild8
-rw-r--r--dev-ros/geometric_shapes/geometric_shapes-9999.ebuild8
2 files changed, 16 insertions, 0 deletions
diff --git a/dev-ros/geometric_shapes/geometric_shapes-0.7.0.ebuild b/dev-ros/geometric_shapes/geometric_shapes-0.7.0.ebuild
index 043a80b16c99..6fed36fb4824 100644
--- a/dev-ros/geometric_shapes/geometric_shapes-0.7.0.ebuild
+++ b/dev-ros/geometric_shapes/geometric_shapes-0.7.0.ebuild
@@ -28,3 +28,11 @@ DEPEND="${RDEPEND}
dev-ros/shape_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
test? ( dev-cpp/gtest dev-ros/rosunit )
"
+
+src_prepare() {
+ ros-catkin_src_prepare
+ # https://bugs.gentoo.org/738556
+ # http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html
+ append-cxxflags '-std=c++17'
+ sed -e 's/add_compile_options(/#\0/g' -i CMakeLists.txt || die
+}
diff --git a/dev-ros/geometric_shapes/geometric_shapes-9999.ebuild b/dev-ros/geometric_shapes/geometric_shapes-9999.ebuild
index 043a80b16c99..6fed36fb4824 100644
--- a/dev-ros/geometric_shapes/geometric_shapes-9999.ebuild
+++ b/dev-ros/geometric_shapes/geometric_shapes-9999.ebuild
@@ -28,3 +28,11 @@ DEPEND="${RDEPEND}
dev-ros/shape_msgs[${CATKIN_MESSAGES_CXX_USEDEP}]
test? ( dev-cpp/gtest dev-ros/rosunit )
"
+
+src_prepare() {
+ ros-catkin_src_prepare
+ # https://bugs.gentoo.org/738556
+ # http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html
+ append-cxxflags '-std=c++17'
+ sed -e 's/add_compile_options(/#\0/g' -i CMakeLists.txt || die
+}