From dcb7b759f90359e531923416e8aaa460577765c8 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 25 Mar 2014 11:21:30 +0000 Subject: Initial revision --- .../bitcoin-0.9.0_boost_program_options.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 bitcoin/build/bitcoin-0.9.0_boost_program_options.patch (limited to 'bitcoin') diff --git a/bitcoin/build/bitcoin-0.9.0_boost_program_options.patch b/bitcoin/build/bitcoin-0.9.0_boost_program_options.patch new file mode 100644 index 00000000..1e0dcf45 --- /dev/null +++ b/bitcoin/build/bitcoin-0.9.0_boost_program_options.patch @@ -0,0 +1,28 @@ +# Between bitcoin 0.8.6 and 0.9.0 a workaround for older versions of boost +# was moved a bit down in the util.cpp file, thereby rendering it useless. +# This patch reverses that move of code. + +--- bitcoin-0.9.0/src/util.cpp.orig 2014-03-16 11:05:28.000000000 +0100 ++++ bitcoin-0.9.0/src/util.cpp 2014-03-25 12:00:33.825478432 +0100 +@@ -66,10 +66,6 @@ + #include + #include + #include +-#include +-#include +-#include +-#include + + // Work around clang compilation problem in Boost 1.46: + // /usr/include/boost/program_options/detail/config_file.hpp:163:17: error: call to function 'to_internal' that is neither visible in the template definition nor found by argument-dependent lookup +@@ -81,6 +77,10 @@ + } + } + ++#include ++#include ++#include ++#include + + using namespace std; + -- cgit v1.2.3-80-g2a13