Evangelos Foutras pushed to branch main at Arch Linux / Packaging / Packages / zcash
Commits: 849a04b7 by Evangelos Foutras at 2023-09-01T20:25:01+03:00 upgpkg: 5.3.0-3: boost 1.83 rebuild - - - - - 2 changed files: - PKGBUILD - + boost-1.83.patch Changes: ===================================== PKGBUILD ===================================== @@ -5,7 +5,7 @@ pkgname=zcash pkgver=5.3.0 _commit=35186b00928f3ba994f0e66bb234c412cbffc7b6 _db_version=6.2.23 -pkgrel=2 +pkgrel=3 pkgdesc='Permissionless financial system employing zero-knowledge security' arch=('x86_64') url='https://z.cash/' @@ -15,15 +15,23 @@ makedepends=('boost' 'clang' 'cmake' 'cxxbridge' 'git' 'gmock' 'python' 'rust' ' options=(!lto) source=("git+https://github.com/zcash/zcash.git#commit=${_commit}" "https://download.oracle.com/berkeley-db/db-${_db_version}.tar.gz" + 'boost-1.83.patch' 'zcashd.service') sha256sums=('SKIP' '47612c8991aa9ac2f6be721267c8d3cdccf5ac83105df8e50809daea24e95dc7' + '6c29da2bdfe7f385778cb8cd15a668e1f200ad9dc0ee30ce58c738b038778add' '7b0919ac447824199aff8c17b5a5799b46414818c6aed314506c5295d0ce9ccd') get_rust_target() { RUSTC_BOOTSTRAP=1 rustc -Z unstable-options --print target-spec-json | python -c 'import json,sys;obj=json.load(sys.stdin);print(obj["llvm-target"])' } +prepare() { + cd ${pkgname} + # https://github.com/boostorg/signals2/issues/68 + patch -Np1 -i ../boost-1.83.patch +} + build() { cd "db-${_db_version}/build_unix" ===================================== boost-1.83.patch ===================================== @@ -0,0 +1,16 @@ +# Not sure if a Boost.Signals2 or a Zcash issue: +# https://github.com/boostorg/signals2/issues/68 + +diff --git a/src/init.cpp b/src/init.cpp +index 74b1d39f6..24f71333e 100644 +--- a/src/init.cpp ++++ b/src/init.cpp +@@ -1955,7 +1955,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler) + while (!fHaveGenesis && !ShutdownRequested()) { + g_genesis_wait_cv.wait_for(lock, std::chrono::milliseconds(500)); + } +- uiInterface.NotifyBlockTip.disconnect(BlockNotifyGenesisWait); ++ uiInterface.NotifyBlockTip.disconnect(&BlockNotifyGenesisWait); + } + if (!fHaveGenesis) { + return false; View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/zcash/-/commit/849a04b7368d00b8019a766cfd766e77c8f85417 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/zcash/-/commit/849a04b7368d00b8019a766cfd766e77c8f85417 You're receiving this email because of your account on gitlab.archlinux.org.