depends: Boost 1.81.0

This commit is contained in:
Jack Grigg 2023-01-11 14:24:14 +00:00
parent 0d17460c85
commit af8f1c207e
3 changed files with 5 additions and 4 deletions

View File

@ -1,8 +1,8 @@
package=boost
$(package)_version=1_80_0
$(package)_version=1_81_0
$(package)_download_path=https://boostorg.jfrog.io/artifactory/main/release/$(subst _,.,$($(package)_version))/source/
$(package)_file_name=boost_$($(package)_version).tar.bz2
$(package)_sha256_hash=1e19565d82e43bc59209a168f5ac899d3ba471d55c7610c677d4ccf2c9c500c0
$(package)_sha256_hash=71feeed900fbccca04a3b4f2f84a7c217186f28a940ed8b7ed4725986baf99fa
$(package)_dependencies=native_b2
ifneq ($(host_os),darwin)

View File

@ -1758,7 +1758,8 @@ bool CWallet::Verify()
LogPrintf("Using wallet %s\n", walletFile);
uiInterface.InitMessage(_("Verifying wallet..."));
if (walletFile != fs::basename(walletFile) + fs::extension(walletFile)) {
fs::path wallet_file_path(walletFile);
if (walletFile != wallet_file_path.filename().string()) {
fs::path path(walletFile);
if (path.is_absolute()) {
if (!fs::exists(path.parent_path())) {

View File

@ -1217,7 +1217,7 @@ bool BackupWallet(const CWallet& wallet, const string& strDest)
pathDest /= wallet.strWalletFile;
try {
fs::copy_file(pathSrc, pathDest, fs::copy_option::overwrite_if_exists);
fs::copy_file(pathSrc, pathDest, fs::copy_options::overwrite_existing);
LogPrintf("copied %s to %s\n", wallet.strWalletFile, pathDest.string());
return true;
} catch (const fs::filesystem_error& e) {