Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bitcoin for openSUSE:Factory checked 
in at 2022-01-24 23:09:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bitcoin (Old)
 and      /work/SRC/openSUSE:Factory/.bitcoin.new.1938 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bitcoin"

Mon Jan 24 23:09:56 2022 rev:44 rq:948348 version:0.21.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/bitcoin/bitcoin.changes  2021-10-20 
20:24:53.533400592 +0200
+++ /work/SRC/openSUSE:Factory/.bitcoin.new.1938/bitcoin.changes        
2022-01-24 23:10:26.398575087 +0100
@@ -1,0 +2,5 @@
+Mon Jan 24 05:07:54 UTC 2022 - Bernhard Wiedemann <[email protected]>
+
+- Add 24104.patch to fix build with boost-1.78
+
+-------------------------------------------------------------------

New:
----
  24104.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bitcoin.spec ++++++
--- /var/tmp/diff_new_pack.ghMhcj/_old  2022-01-24 23:10:27.146569974 +0100
+++ /var/tmp/diff_new_pack.ghMhcj/_new  2022-01-24 23:10:27.150569947 +0100
@@ -35,6 +35,8 @@
 Source3:        %{base}d.conf
 Source4:        %{base}.conf
 Patch0:         harden_bitcoind.service.patch
+# PATCH-FIX-UPSTREAM: https://github.com/bitcoin/bitcoin/pull/24104
+Patch1:         24104.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-c++

++++++ 24104.patch ++++++
>From dc5d6b0d4793ca978f71f69ef7d6b818794676c2 Mon Sep 17 00:00:00 2001
From: Andrew Chow <[email protected]>
Date: Wed, 19 Jan 2022 15:21:25 -0500
Subject: [PATCH] fs: Make compatible with boost 1.78

---
 src/wallet/load.cpp                   | 2 +-
 test/functional/wallet_multiwallet.py | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Index: bitcoin-0.21.2/test/functional/wallet_multiwallet.py
===================================================================
--- bitcoin-0.21.2.orig/test/functional/wallet_multiwallet.py
+++ bitcoin-0.21.2/test/functional/wallet_multiwallet.py
@@ -138,7 +138,7 @@ class MultiWalletTest(BitcoinTestFramewo
 
         # should raise rpc error if wallet path can't be created
         err_code = -4 if self.options.descriptors else -1
-        assert_raises_rpc_error(err_code, 
"boost::filesystem::create_directory:", self.nodes[0].createwallet, "w8/bad")
+        assert_raises_rpc_error(err_code, 
"boost::filesystem::create_director", self.nodes[0].createwallet, "w8/bad")
 
         # check that all requested wallets were created
         self.stop_node(0)
Index: bitcoin-0.21.2/src/wallet/load.cpp
===================================================================
--- bitcoin-0.21.2.orig/src/wallet/load.cpp
+++ bitcoin-0.21.2/src/wallet/load.cpp
@@ -22,7 +22,7 @@ bool VerifyWallets(interfaces::Chain& ch
         fs::path wallet_dir = gArgs.GetArg("-walletdir", "");
         boost::system::error_code error;
         // The canonical path cleans the path, preventing >1 Berkeley 
environment instances for the same directory
-        fs::path canonical_wallet_dir = fs::canonical(wallet_dir, error);
+        fs::path canonical_wallet_dir = fs::canonical(wallet_dir, 
error).remove_trailing_separator();
         if (error || !fs::exists(wallet_dir)) {
             chain.initError(strprintf(_("Specified -walletdir \"%s\" does not 
exist"), wallet_dir.string()));
             return false;

Reply via email to