commit 3c8694642fd5d4dd7b84f66bbbf94b5b12ef87e8
parent 6cad9ac725d3a5f846351ae6c65da6e25c47cf2e
Author: parazyd <parazyd@dyne.org>
Date: Tue, 9 Feb 2021 23:02:08 +0100
net-p2p/libbitcoin-protocol: Fix dependency.equalsversion.
Diffstat:
2 files changed, 1 insertion(+), 28 deletions(-)
diff --git a/net-p2p/libbitcoin-protocol/files/boost-placeholders.patch b/net-p2p/libbitcoin-protocol/files/boost-placeholders.patch
@@ -1,25 +0,0 @@
-diff --git a/include/bitcoin/protocol/web/json_string.hpp b/include/bitcoin/protocol/web/json_string.hpp
-index 13b4921..499cb3f 100644
---- a/include/bitcoin/protocol/web/json_string.hpp
-+++ b/include/bitcoin/protocol/web/json_string.hpp
-@@ -19,6 +19,8 @@
- #ifndef LIBBITCOIN_PROTOCOL_WEB_JSON_STRING_HPP
- #define LIBBITCOIN_PROTOCOL_WEB_JSON_STRING_HPP
-
-+#define BOOST_BIND_NO_PLACEHOLDERS
-+
- #include <cstdint>
- #include <functional>
- #include <string>
-diff --git a/src/web/json_string.cpp b/src/web/json_string.cpp
-index b39d3ee..f0e1707 100644
---- a/src/web/json_string.cpp
-+++ b/src/web/json_string.cpp
-@@ -21,6 +21,7 @@
- // Explicitly use std::placeholders here for usage internally to the
- // boost parsing helpers included from json_parser.hpp.
- // See: https://svn.boost.org/trac10/ticket/12621
-+#define BOOST_BIND_NO_PLACEHOLDERS
- using namespace std::placeholders;
-
- #include <boost/property_tree/json_parser.hpp>
diff --git a/net-p2p/libbitcoin-protocol/libbitcoin-protocol-9999.ebuild b/net-p2p/libbitcoin-protocol/libbitcoin-protocol-9999.ebuild
@@ -17,13 +17,11 @@ IUSE="static-libs debug test +mbedtls"
DEPEND="
mbedtls? ( >=net-libs/mbedtls-2.12.0 )
>=dev-libs/boost-1.62.0:=[threads(+)]
- =net-p2p/libbitcoin-system-${PV}
>=net-libs/zeromq-4.3.2
+ >=net-p2p/libbitcoin-system-${PV}
"
RDEPEND="${DEPEND}"
-PATCHES=( ${FILESDIR}/boost-placeholders.patch )
-
src_prepare() {
eautoreconf
default