commit: 1b42af1f1038be9a2404bb01c49b6a74f765ab93 Author: James Beddek <telans <AT> posteo <DOT> de> AuthorDate: Sat Jun 19 23:19:13 2021 +0000 Commit: Theo Anderson <telans <AT> posteo <DOT> de> CommitDate: Sat Jun 19 23:19:32 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b42af1f
net-p2p/monero: fix build with boot-1.76 Signed-off-by: James Beddek <telans <AT> posteo.de> .../monero/files/monero-0.17.2.0-boost-176.patch | 24 ++++++++++++++++++++++ net-p2p/monero/monero-0.17.2.0.ebuild | 7 +++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/net-p2p/monero/files/monero-0.17.2.0-boost-176.patch b/net-p2p/monero/files/monero-0.17.2.0-boost-176.patch new file mode 100644 index 000000000..07a584a39 --- /dev/null +++ b/net-p2p/monero/files/monero-0.17.2.0-boost-176.patch @@ -0,0 +1,24 @@ +From c28d2f7c110c0a2161fa02d6c20df94a60a41965 Mon Sep 17 00:00:00 2001 +From: loqs <l...@users.noreply.github.com> +Date: Sun, 23 May 2021 20:29:17 +0100 +Subject: [PATCH] Fix boost 1.76.0 compatibility + +Add missing header boost/mpl/contains.hpp +monero-project/monero/issues/7728 +--- + contrib/epee/include/storages/portable_storage.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/contrib/epee/include/storages/portable_storage.h b/contrib/epee/include/storages/portable_storage.h +index 1e68605abf5..801bb2c3465 100644 +--- a/contrib/epee/include/storages/portable_storage.h ++++ b/contrib/epee/include/storages/portable_storage.h +@@ -40,6 +40,8 @@ + #include "span.h" + #include "int-util.h" + ++#include <boost/mpl/contains.hpp> ++ + namespace epee + { + namespace serialization diff --git a/net-p2p/monero/monero-0.17.2.0.ebuild b/net-p2p/monero/monero-0.17.2.0.ebuild index e3b4ccfae..6107e459f 100644 --- a/net-p2p/monero/monero-0.17.2.0.ebuild +++ b/net-p2p/monero/monero-0.17.2.0.ebuild @@ -26,7 +26,7 @@ RESTRICT="test" DEPEND=" acct-group/monero acct-user/monero - <dev-libs/boost-1.76.0:=[nls,threads] + dev-libs/boost:=[nls,threads] dev-libs/libsodium:= dev-libs/openssl:= dev-libs/randomx @@ -40,7 +40,10 @@ DEPEND=" RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" -PATCHES=( "${FILESDIR}/${PN}-0.17.1.7-unbundle-dependencies.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-0.17.1.7-unbundle-dependencies.patch" + "${FILESDIR}/${PN}-0.17.2.0-boost-176.patch" +) src_configure() { local mycmakeargs=(