1 |
commit: 95e570de0e3d40f44629d177ba0a427ee5e783ce |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 20 11:16:58 2019 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 20 11:23:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e570de |
7 |
|
8 |
dev-ros/roscpp: upstream boost fix |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org> |
12 |
|
13 |
dev-ros/roscpp/files/boost.patch | 26 ++++++++++++++++++++++ |
14 |
...oscpp-1.14.3.ebuild => roscpp-1.14.3-r1.ebuild} | 1 + |
15 |
2 files changed, 27 insertions(+) |
16 |
|
17 |
diff --git a/dev-ros/roscpp/files/boost.patch b/dev-ros/roscpp/files/boost.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..1d509a8ab6c |
20 |
--- /dev/null |
21 |
+++ b/dev-ros/roscpp/files/boost.patch |
22 |
@@ -0,0 +1,26 @@ |
23 |
+commit 41f18edc9f2f0b1ef304ea25f148bd56a6bf3d70 |
24 |
+Author: Maarten de Vries <maarten@××××××.es> |
25 |
+Date: Thu Jan 31 00:58:29 2019 +0100 |
26 |
+ |
27 |
+ Remove signals from find_package(Boost COMPONENTS ...) (#1580) |
28 |
+ |
29 |
+ The packages use signals2, not signals. Only boost libraries with |
30 |
+ compiled code should be passed to find_package(Boost COMPONENTS ...), |
31 |
+ and the signals2 library has always been header only. |
32 |
+ |
33 |
+ Boost 1.69 has removed the deprecated signals library, so the otherwise |
34 |
+ useless but harmless `signals` component now breaks the build. |
35 |
+ |
36 |
+diff --git a/clients/roscpp/CMakeLists.txt b/clients/roscpp/CMakeLists.txt |
37 |
+index a5d354ea6..8f462df2c 100644 |
38 |
+--- a/clients/roscpp/CMakeLists.txt |
39 |
++++ b/clients/roscpp/CMakeLists.txt |
40 |
+@@ -22,7 +22,7 @@ list(GET roscpp_VERSION_LIST 2 roscpp_VERSION_PATCH) |
41 |
+ |
42 |
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/ros/common.h.in ${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_INCLUDE_DESTINATION}/ros/common.h) |
43 |
+ |
44 |
+-find_package(Boost REQUIRED COMPONENTS chrono filesystem signals system) |
45 |
++find_package(Boost REQUIRED COMPONENTS chrono filesystem system) |
46 |
+ |
47 |
+ include_directories(include ${CATKIN_DEVEL_PREFIX}/${CATKIN_GLOBAL_INCLUDE_DESTINATION}/ros ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) |
48 |
+ |
49 |
|
50 |
diff --git a/dev-ros/roscpp/roscpp-1.14.3.ebuild b/dev-ros/roscpp/roscpp-1.14.3-r1.ebuild |
51 |
similarity index 94% |
52 |
rename from dev-ros/roscpp/roscpp-1.14.3.ebuild |
53 |
rename to dev-ros/roscpp/roscpp-1.14.3-r1.ebuild |
54 |
index 4d1d63e2e34..15e970883b2 100644 |
55 |
--- a/dev-ros/roscpp/roscpp-1.14.3.ebuild |
56 |
+++ b/dev-ros/roscpp/roscpp-1.14.3-r1.ebuild |
57 |
@@ -28,3 +28,4 @@ RDEPEND=" |
58 |
dev-ros/rosgraph_msgs[${CATKIN_MESSAGES_CXX_USEDEP}] |
59 |
" |
60 |
DEPEND="${RDEPEND}" |
61 |
+PATCHES=( "${FILESDIR}/boost.patch" ) |