pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/finance/bitcoin Fix build with Boost 1.72



details:   https://anonhg.NetBSD.org/pkgsrc/rev/06e3cc8b7229
branches:  trunk
changeset: 426230:06e3cc8b7229
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Mar 29 00:59:48 2020 +0000

description:
Fix build with Boost 1.72

diffstat:

 finance/bitcoin/distinfo                                |   3 ++-
 finance/bitcoin/patches/patch-src_wallet_walletutil.cpp |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 0e3fd0a4a9c2 -r 06e3cc8b7229 finance/bitcoin/distinfo
--- a/finance/bitcoin/distinfo  Sun Mar 29 00:59:19 2020 +0000
+++ b/finance/bitcoin/distinfo  Sun Mar 29 00:59:48 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2019/12/03 16:30:35 adam Exp $
+$NetBSD: distinfo,v 1.6 2020/03/29 00:59:48 joerg Exp $
 
 SHA1 (bitcoin-0.19.0.1.tar.gz) = ea47611c499ecfb435d3c3404ce99c33f4ac6515
 RMD160 (bitcoin-0.19.0.1.tar.gz) = 68aebc32d91724640b8112d1524adf3dd089e892
@@ -6,3 +6,4 @@
 Size (bitcoin-0.19.0.1.tar.gz) = 7386333 bytes
 SHA1 (patch-src_leveldb_port_port__posix.h) = 6a3cde12951b9801e8ffe19b6134ca48ad0d876c
 SHA1 (patch-src_netbase.cpp) = 676ea8643f1ad86d4c94c4ed8e179b58aa1e2f95
+SHA1 (patch-src_wallet_walletutil.cpp) = 27fc38ad137a842c568f9208fb23818748aa1ef8
diff -r 0e3fd0a4a9c2 -r 06e3cc8b7229 finance/bitcoin/patches/patch-src_wallet_walletutil.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/bitcoin/patches/patch-src_wallet_walletutil.cpp   Sun Mar 29 00:59:48 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_wallet_walletutil.cpp,v 1.1 2020/03/29 01:00:01 joerg Exp $
+
+--- src/wallet/walletutil.cpp.orig     2020-03-28 23:09:25.601811010 +0000
++++ src/wallet/walletutil.cpp
+@@ -74,7 +74,7 @@ std::vector<fs::path> ListWalletDir()
+         if (it->status().type() == fs::directory_file && IsBerkeleyBtree(it->path() / "wallet.dat")) {
+             // Found a directory which contains wallet.dat btree file, add it as a wallet.
+             paths.emplace_back(path);
+-        } else if (it.level() == 0 && it->symlink_status().type() == fs::regular_file && IsBerkeleyBtree(it->path())) {
++        } else if (it.depth() == 0 && it->symlink_status().type() == fs::regular_file && IsBerkeleyBtree(it->path())) {
+             if (it->path().filename() == "wallet.dat") {
+                 // Found top-level wallet.dat btree file, add top level directory ""
+                 // as a wallet.



Home | Main Index | Thread Index | Old Index