bitcoin: rebuild for boost 1.81.0

This commit is contained in:
Đoàn Trần Công Danh 2022-11-24 22:58:45 +07:00
parent 6170a5deeb
commit 6d7ea93011
2 changed files with 23 additions and 1 deletions

View 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()

View File

@ -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"