bitcoin: rebuild for boost 1.81.0
This commit is contained in:
parent
6170a5deeb
commit
6d7ea93011
22
srcpkgs/bitcoin/patches/fix-test.patch
Normal file
22
srcpkgs/bitcoin/patches/fix-test.patch
Normal file
@ -0,0 +1,22 @@
|
||||
Index: bitcoin-22.0/src/wallet/test/init_tests.cpp
|
||||
===================================================================
|
||||
--- bitcoin-22.0.orig/src/wallet/test/init_tests.cpp
|
||||
+++ bitcoin-22.0/src/wallet/test/init_tests.cpp
|
||||
@@ -69,7 +69,7 @@ BOOST_AUTO_TEST_CASE(walletinit_verify_w
|
||||
BOOST_CHECK(result == true);
|
||||
fs::path walletdir = gArgs.GetArg("-walletdir", "");
|
||||
fs::path expected_path = fs::canonical(m_walletdir_path_cases["default"]);
|
||||
- BOOST_CHECK_EQUAL(walletdir, expected_path);
|
||||
+ BOOST_TEST(fs::equivalent(walletdir, expected_path));
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_CASE(walletinit_verify_walletdir_no_trailing2)
|
||||
@@ -79,7 +79,7 @@ BOOST_AUTO_TEST_CASE(walletinit_verify_w
|
||||
BOOST_CHECK(result == true);
|
||||
fs::path walletdir = gArgs.GetArg("-walletdir", "");
|
||||
fs::path expected_path = fs::canonical(m_walletdir_path_cases["default"]);
|
||||
- BOOST_CHECK_EQUAL(walletdir, expected_path);
|
||||
+ BOOST_TEST(fs::equivalent(walletdir, expected_path));
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE_END()
|
@ -1,7 +1,7 @@
|
||||
# Template file for 'bitcoin'
|
||||
pkgname=bitcoin
|
||||
version=22.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-incompatible-bdb --disable-ccache --disable-static
|
||||
--enable-hardening --with-boost=${XBPS_CROSS_BASE}/usr --with-gui"
|
||||
|
Loading…
x
Reference in New Issue
Block a user