parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

boost-placeholders.patch (926B)


      1 diff --git a/include/bitcoin/protocol/web/json_string.hpp b/include/bitcoin/protocol/web/json_string.hpp
      2 index 13b4921..499cb3f 100644
      3 --- a/include/bitcoin/protocol/web/json_string.hpp
      4 +++ b/include/bitcoin/protocol/web/json_string.hpp
      5 @@ -19,6 +19,8 @@
      6  #ifndef LIBBITCOIN_PROTOCOL_WEB_JSON_STRING_HPP
      7  #define LIBBITCOIN_PROTOCOL_WEB_JSON_STRING_HPP
      8  
      9 +#define BOOST_BIND_NO_PLACEHOLDERS
     10 +
     11  #include <cstdint>
     12  #include <functional>
     13  #include <string>
     14 diff --git a/src/web/json_string.cpp b/src/web/json_string.cpp
     15 index b39d3ee..f0e1707 100644
     16 --- a/src/web/json_string.cpp
     17 +++ b/src/web/json_string.cpp
     18 @@ -21,6 +21,7 @@
     19  // Explicitly use std::placeholders here for usage internally to the
     20  // boost parsing helpers included from json_parser.hpp.
     21  // See: https://svn.boost.org/trac10/ticket/12621
     22 +#define BOOST_BIND_NO_PLACEHOLDERS
     23  using namespace std::placeholders;
     24  
     25  #include <boost/property_tree/json_parser.hpp>