]> git.pld-linux.org Git - packages/primecoin.git/commitdiff
- fix building with boost 1.58 auto/th/primecoin-0.1.2-2.20131127.7
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Jun 2015 08:41:34 +0000 (10:41 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Jun 2015 08:41:34 +0000 (10:41 +0200)
- rel 7

boost-1.58.patch [new file with mode: 0644]
primecoin.spec

diff --git a/boost-1.58.patch b/boost-1.58.patch
new file mode 100644 (file)
index 0000000..b42b428
--- /dev/null
@@ -0,0 +1,11 @@
+--- primecoin-0.1.2-hp14/src/rpcrawtransaction.cpp~    2014-04-26 17:02:25.000000000 +0200
++++ primecoin-0.1.2-hp14/src/rpcrawtransaction.cpp     2015-06-27 10:29:55.461778255 +0200
+@@ -238,7 +238,7 @@
+             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())));
index ff306d77b1e3c6e12eb54b9f927664e56708bbbf..c433ff1e8093c6651decee478c7ce89ec0a3138d 100644 (file)
@@ -1,5 +1,5 @@
 %define        snap    20131127
-%define        rel     6
+%define        rel     7
 Summary:       Primecoin - First Scientific Computing Cryptocurrency
 Name:          primecoin
 Version:       0.1.2
@@ -10,6 +10,7 @@ Group:                X11/Applications
 Source0:       %{name}-20131127.tar.bz2
 # Source0-md5: 10ae9950aba9232a3c035e499c38aa74
 Patch0:                build-i486.patch
+Patch1:                boost-1.58.patch
 URL:           http://primecoin.org
 BuildRequires: QtCore-devel
 BuildRequires: QtDBus-devel
@@ -36,6 +37,7 @@ Qt-based Primecoin Wallet.
 %prep
 %setup -q -n %{name}-%{snap}
 %patch0 -p1
+%patch1 -p1
 
 %build
 qmake-qt4 bitcoin-qt.pro \
This page took 0.077456 seconds and 4 git commands to generate.