aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-05-06 21:59:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-05-07 05:57:19 +0000
commit943e5152ac05f6e580fe52e56e6ceeba4ff683b8 (patch)
tree072fc66ac74488290dec4804f1fa62013235313e /testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch
parent084b9372103354999bffda490f597fca0740a91d (diff)
downloadaports-943e5152ac05f6e580fe52e56e6ceeba4ff683b8.tar.bz2
aports-943e5152ac05f6e580fe52e56e6ceeba4ff683b8.tar.xz
testing/bitcoin: update to 0.10.1 + fix boost error
Diffstat (limited to 'testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch')
-rw-r--r--testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch b/testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch
new file mode 100644
index 0000000000..07589c74f1
--- /dev/null
+++ b/testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch
@@ -0,0 +1,11 @@
+--- bitcoin-0.10.1/src/rpcrawtransaction.cpp
++++ bitcoin-0.10.1/src/rpcrawtransaction.cpp.new
+@@ -287,7 +287,7 @@
+ if (pk.IsPayToScriptHash()) {
+ CTxDestination address;
+ if (ExtractDestination(pk, address)) {
+- const CScriptID& hash = boost::get<const CScriptID&>(address);
++ const CScriptID& hash = boost::get<CScriptID>(address);
+ CScript redeemScript;
+ if (pwalletMain->GetCScript(hash, redeemScript))
+ entry.push_back(Pair("redeemScript", HexStr(redeemScript.begin(), redeemScript.end())));