pkgsrc-Changes archive

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

CVS commit: pkgsrc/finance/bitcoin/patches



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sun Mar 29 01:00:01 UTC 2020

Added Files:
        pkgsrc/finance/bitcoin/patches: patch-src_wallet_walletutil.cpp

Log Message:
Fix build with Boost 1.72


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/finance/bitcoin/patches/patch-src_wallet_walletutil.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/finance/bitcoin/patches/patch-src_wallet_walletutil.cpp
diff -u /dev/null pkgsrc/finance/bitcoin/patches/patch-src_wallet_walletutil.cpp:1.1
--- /dev/null   Sun Mar 29 01:00:01 2020
+++ pkgsrc/finance/bitcoin/patches/patch-src_wallet_walletutil.cpp      Sun Mar 29 01:00:01 2020
@@ -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