diff --git a/srcpkgs/bitcoin/patches/fix-test.patch b/srcpkgs/bitcoin/patches/fix-test.patch new file mode 100644 index 00000000000..0004fd7358a --- /dev/null +++ b/srcpkgs/bitcoin/patches/fix-test.patch @@ -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() diff --git a/srcpkgs/bitcoin/template b/srcpkgs/bitcoin/template index 9ae457ecb9c..478a7a66e87 100644 --- a/srcpkgs/bitcoin/template +++ b/srcpkgs/bitcoin/template @@ -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"