summaryrefslogtreecommitdiffstats
path: root/bitcoin
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2014-03-25 11:21:30 +0000
committer Eric Hameleers <alien@slackware.com>2014-03-25 11:21:30 +0000
commitdcb7b759f90359e531923416e8aaa460577765c8 (patch)
tree55656127cca1278cf17144d81f58f743705ef3ab /bitcoin
parent084e99cbbae20d24fadf82d56e3859fa221753e0 (diff)
downloadasb-dcb7b759f90359e531923416e8aaa460577765c8.tar.gz
asb-dcb7b759f90359e531923416e8aaa460577765c8.tar.xz
Initial revision
Diffstat (limited to 'bitcoin')
-rw-r--r--bitcoin/build/bitcoin-0.9.0_boost_program_options.patch28
1 files changed, 28 insertions, 0 deletions
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 <boost/filesystem.hpp>
+ #include <boost/filesystem/fstream.hpp>
+ #include <boost/foreach.hpp>
+-#include <boost/program_options/detail/config_file.hpp>
+-#include <boost/program_options/parsers.hpp>
+-#include <openssl/crypto.h>
+-#include <openssl/rand.h>
+
+ // 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 <boost/program_options/detail/config_file.hpp>
++#include <boost/program_options/parsers.hpp>
++#include <openssl/crypto.h>
++#include <openssl/rand.h>
+
+ using namespace std;
+