diff options
author | joerg <joerg@pkgsrc.org> | 2020-03-29 00:59:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-03-29 00:59:48 +0000 |
commit | 6beb619a81ef2e0c44fe3f5fded9838e92f83470 (patch) | |
tree | 96acb8c27b9eb65ab2581ac3c2db0a6622ec3941 /finance | |
parent | 0398e1f07eacb7a585410a91433ba050b98a0a37 (diff) | |
download | pkgsrc-6beb619a81ef2e0c44fe3f5fded9838e92f83470.tar.gz |
Fix build with Boost 1.72
Diffstat (limited to 'finance')
-rw-r--r-- | finance/bitcoin/distinfo | 3 | ||||
-rw-r--r-- | finance/bitcoin/patches/patch-src_wallet_walletutil.cpp | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/finance/bitcoin/distinfo b/finance/bitcoin/distinfo index 3f62f306607..6538746198f 100644 --- a/finance/bitcoin/distinfo +++ b/finance/bitcoin/distinfo @@ -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 @@ SHA512 (bitcoin-0.19.0.1.tar.gz) = e5ae7c54e343453c6d3a7fabb056081e433f953080c54 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 --git a/finance/bitcoin/patches/patch-src_wallet_walletutil.cpp b/finance/bitcoin/patches/patch-src_wallet_walletutil.cpp new file mode 100644 index 00000000000..08fb9703680 --- /dev/null +++ b/finance/bitcoin/patches/patch-src_wallet_walletutil.cpp @@ -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. |