[packages/protoshares] - fix building with boost 1.58 - rel 5
baggins
baggins at pld-linux.org
Sat Jun 27 10:45:27 CEST 2015
commit 34a66827d295b49cdd58a47d9bec84454d29469e
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Jun 27 10:45:11 2015 +0200
- fix building with boost 1.58
- rel 5
boost-1.58.patch | 11 +++++++++++
protoshares.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/protoshares.spec b/protoshares.spec
index 19e9cc2..159b52e 100644
--- a/protoshares.spec
+++ b/protoshares.spec
@@ -1,5 +1,5 @@
%define snap 20131203
-%define rel 4
+%define rel 5
Summary: ProtoShares
Name: protoshares
Version: 0.8.5
@@ -8,6 +8,7 @@ License: MIT/X11
Group: X11/Applications
Source0: ProtoShares-%{snap}.tar.bz2
# Source0-md5: f18b07195152c72a1e322444d84b4543
+Patch0: boost-1.58.patch
URL: http://invictus-innovations.com/protoshares
BuildRequires: QtCore-devel
BuildRequires: QtDBus-devel
@@ -33,6 +34,7 @@ Qt-based ProtoShares Wallet.
%prep
%setup -q -n ProtoShares
+%patch0 -p1
%build
qmake-qt4 protoshares-qt.pro \
diff --git a/boost-1.58.patch b/boost-1.58.patch
new file mode 100644
index 0000000..b42b428
--- /dev/null
+++ b/boost-1.58.patch
@@ -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())));
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/protoshares.git/commitdiff/34a66827d295b49cdd58a47d9bec84454d29469e
More information about the pld-cvs-commit
mailing list