net-p2p/monero: fix build with boot-1.76

Signed-off-by: James Beddek <telans@posteo.de>
This commit is contained in:
James Beddek
2021-06-20 11:19:13 +12:00
parent f6affc81d0
commit 1b42af1f10
2 changed files with 29 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
From c28d2f7c110c0a2161fa02d6c20df94a60a41965 Mon Sep 17 00:00:00 2001
From: loqs <loqs@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

View File

@@ -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=(