pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bifrost: Fix build with clang19
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon4000%gmail.com@localhost>
Pushed By: outpaddling
Date: Tue May 27 08:47:55 2025 -0500
Changeset: 46251d044742ecc91f1a970139eb9bd170599748
Modified Files:
bifrost/distinfo
Added Files:
bifrost/patches/patch-src_DataStorage.tcc
Log Message:
bifrost: Fix build with clang19
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=46251d044742ecc91f1a970139eb9bd170599748
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
bifrost/distinfo | 1 +
bifrost/patches/patch-src_DataStorage.tcc | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diffs:
diff --git a/bifrost/distinfo b/bifrost/distinfo
index 74924b512c..32ceeabba0 100644
--- a/bifrost/distinfo
+++ b/bifrost/distinfo
@@ -4,5 +4,6 @@ BLAKE2s (bifrost-1.3.5.tar.gz) = c89466cbb4519bdc31709316b0cc784e6b88e3216c5b92f
SHA512 (bifrost-1.3.5.tar.gz) = 5e29b771a665dc93c523e51d2958dcf3bf4874fd9ac1c71b8a65131a00831e1a62b013126d92de112f63bc285dc2250d11a0fbcdcb15c3e54b959d322d49e8fb
Size (bifrost-1.3.5.tar.gz) = 356701 bytes
SHA1 (patch-CMakeLists.txt) = b67d3b9da75644d6c414988a1e034f4732d4ab5c
+SHA1 (patch-src_DataStorage.tcc) = 5fb55d98a1d6ce2018ade2a268d6d82e6334110c
SHA1 (patch-src_libpopcnt.h) = ebccf4b759d7cbfa25e88f4d1f016791eb87afee
SHA1 (patch-src_strict__fstream.hpp) = d5a215d44bc48030291c7acc5f7550df38821011
diff --git a/bifrost/patches/patch-src_DataStorage.tcc b/bifrost/patches/patch-src_DataStorage.tcc
new file mode 100644
index 0000000000..1e571c453f
--- /dev/null
+++ b/bifrost/patches/patch-src_DataStorage.tcc
@@ -0,0 +1,18 @@
+$NetBSD$
+
+# Fix build with clang19+
+
+--- src/DataStorage.tcc.orig 2025-05-27 13:46:11.230880011 +0000
++++ src/DataStorage.tcc
+@@ -78,7 +78,10 @@ DataStorage<U>::DataStorage(const DataSt
+
+ unitig_cs_link = new atomic<uint64_t>[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)){
Home |
Main Index |
Thread Index |
Old Index