1 |
commit: df621ad3b75dc50e7682c3090903c6d1ef8929e0 |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 24 13:24:14 2020 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 24 13:44:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df621ad3 |
7 |
|
8 |
dev-ros/geometric_shapes: use c++17 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/738556 |
11 |
Package-Manager: Portage-3.0.3, Repoman-3.0.0 |
12 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
13 |
|
14 |
dev-ros/geometric_shapes/geometric_shapes-0.7.0.ebuild | 8 ++++++++ |
15 |
dev-ros/geometric_shapes/geometric_shapes-9999.ebuild | 8 ++++++++ |
16 |
2 files changed, 16 insertions(+) |
17 |
|
18 |
diff --git a/dev-ros/geometric_shapes/geometric_shapes-0.7.0.ebuild b/dev-ros/geometric_shapes/geometric_shapes-0.7.0.ebuild |
19 |
index 043a80b16c9..6fed36fb482 100644 |
20 |
--- a/dev-ros/geometric_shapes/geometric_shapes-0.7.0.ebuild |
21 |
+++ b/dev-ros/geometric_shapes/geometric_shapes-0.7.0.ebuild |
22 |
@@ -28,3 +28,11 @@ DEPEND="${RDEPEND} |
23 |
dev-ros/shape_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
24 |
test? ( dev-cpp/gtest dev-ros/rosunit ) |
25 |
" |
26 |
+ |
27 |
+src_prepare() { |
28 |
+ ros-catkin_src_prepare |
29 |
+ # https://bugs.gentoo.org/738556 |
30 |
+ # http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html |
31 |
+ append-cxxflags '-std=c++17' |
32 |
+ sed -e 's/add_compile_options(/#\0/g' -i CMakeLists.txt || die |
33 |
+} |
34 |
|
35 |
diff --git a/dev-ros/geometric_shapes/geometric_shapes-9999.ebuild b/dev-ros/geometric_shapes/geometric_shapes-9999.ebuild |
36 |
index 043a80b16c9..6fed36fb482 100644 |
37 |
--- a/dev-ros/geometric_shapes/geometric_shapes-9999.ebuild |
38 |
+++ b/dev-ros/geometric_shapes/geometric_shapes-9999.ebuild |
39 |
@@ -28,3 +28,11 @@ DEPEND="${RDEPEND} |
40 |
dev-ros/shape_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
41 |
test? ( dev-cpp/gtest dev-ros/rosunit ) |
42 |
" |
43 |
+ |
44 |
+src_prepare() { |
45 |
+ ros-catkin_src_prepare |
46 |
+ # https://bugs.gentoo.org/738556 |
47 |
+ # http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html |
48 |
+ append-cxxflags '-std=c++17' |
49 |
+ sed -e 's/add_compile_options(/#\0/g' -i CMakeLists.txt || die |
50 |
+} |