diff --git a/biology/bifrost/Makefile b/biology/bifrost/Makefile index 082d27df32e6..e1873b430549 100644 --- a/biology/bifrost/Makefile +++ b/biology/bifrost/Makefile @@ -1,34 +1,26 @@ PORTNAME= bifrost DISTVERSIONPREFIX= v DISTVERSION= 1.3.5 +PORTREVISION= 1 CATEGORIES= biology MAINTAINER= jwb@FreeBSD.org COMMENT= Parallel construction, indexing and querying of de Bruijn graphs WWW= https://github.com/pmelsted/bifrost LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64 ONLY_FOR_ARCHS_REASON= Requires a 64-bit processor USES= cmake USE_GITHUB= yes CMAKE_ARGS= -DCOMPILATION_ARCH=${CPUTYPE:UOFF} CXXFLAGS+= -Wno-unqualified-std-cast-call GH_ACCOUNT= pmelsted -.include - -# Build fails with clang19, but succeeds with gcc13 -# Have not figured out where this sz_link member is even supposed to come from -# DataStorage.tcc:81:69: error: no member named 'sz_link' in 'DataStorage' -.if ${OSVERSION} > 1500000 -USE_GCC= yes -.endif - -.include +.include diff --git a/biology/bifrost/distinfo b/biology/bifrost/distinfo index 49f7e2d919bb..43195678b9c9 100644 --- a/biology/bifrost/distinfo +++ b/biology/bifrost/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1710590640 +TIMESTAMP = 1748282354 SHA256 (pmelsted-bifrost-v1.3.5_GH0.tar.gz) = e1b2491328b0cc1a32e433a8a9780f05547fa4b8d674b58abdda9ac8809f5341 SIZE (pmelsted-bifrost-v1.3.5_GH0.tar.gz) = 356701 diff --git a/biology/bifrost/files/patch-src_DataStorage.tcc b/biology/bifrost/files/patch-src_DataStorage.tcc new file mode 100644 index 000000000000..22196bb8e11c --- /dev/null +++ b/biology/bifrost/files/patch-src_DataStorage.tcc @@ -0,0 +1,14 @@ +--- src/DataStorage.tcc.orig 2024-03-15 15:20:17 UTC ++++ src/DataStorage.tcc +@@ -78,7 +78,10 @@ DataStorage::DataStorage(const DataStorage& o) : co + + unitig_cs_link = new atomic[sz_link]; + +- for (size_t i = 0; i != sz_link; ++i) unitig_cs_link[i] = o.sz_link[i].load(); ++ // Hayzam Sherif: o.sz_link -> o.unitig_cs_link ++ // Independently proposed by Lucas van Dijk: ++ // https://github.com/pmelsted/bifrost/pull/18/files ++ for (size_t i = 0; i != sz_link; ++i) unitig_cs_link[i] = o.unitig_cs_link[i].load(); + } + + if ((o.data != nullptr) && (o.sz_cs != 0)){