[med-svn] [Git][med-team/ncbi-blastplus][master] ncbi-blast+ 2.17.0+ds-5: Fix wgsread.cpp for x32 (#1117023).

Aaron M. Ucko (@ucko) gitlab at salsa.debian.org
Fri Oct 17 15:16:45 BST 2025



Aaron M. Ucko pushed to branch master at Debian Med / ncbi-blastplus


Commits:
6daa77ef by Aaron M. Ucko at 2025-10-17T10:12:48-04:00
ncbi-blast+ 2.17.0+ds-5: Fix wgsread.cpp for x32 (#1117023).

- - - - -


2 changed files:

- debian/changelog
- debian/patches/support_x32


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+ncbi-blast+ (2.17.0+ds-5) unstable; urgency=medium
+
+  * debian/patches/support_x32: Fix wgsread.cpp for 32-bit architectures.
+    (Closes: #1117023.)
+
+ -- Aaron M. Ucko <ucko at debian.org>  Fri, 17 Oct 2025 10:12:47 -0400
+
 ncbi-blast+ (2.17.0+ds-4) unstable; urgency=medium
 
   * debian/patches/support_x32: Correctly broaden configure(.ac)'s VDB


=====================================
debian/patches/support_x32
=====================================
@@ -36,3 +36,15 @@ Avoid picking up wrong inline assembly.
              linux*:aarch64* ) vdb_libpath=linux/$vdb_mode/arm64/lib  ;;
              * )
                 if test -n "$with_vdb"; then
+--- a/c++/src/sra/readers/sra/wgsread.cpp
++++ b/c++/src/sra/readers/sra/wgsread.cpp
+@@ -6185,7 +6185,8 @@ void CWGSSeqIterator::x_CreateFeaturesCh
+     // select range of feature table rows
+     auto range = GetLocFeatRowIdRange();
+     auto feat_start = range.first + kFeatPerChunk*index;
+-    auto feat_stop = min(range.first+range.second, feat_start+kFeatPerChunk);
++    auto feat_stop = min<TVDBRowId>(range.first+range.second,
++                                    feat_start+kFeatPerChunk);
+     range.first = feat_start;
+     range.second = max(feat_start, feat_stop)-feat_start;
+     // create features



View it on GitLab: https://salsa.debian.org/med-team/ncbi-blastplus/-/commit/6daa77efb767b7c141aaddf1e2fad60bd2660f7a

-- 
View it on GitLab: https://salsa.debian.org/med-team/ncbi-blastplus/-/commit/6daa77efb767b7c141aaddf1e2fad60bd2660f7a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20251017/bb272c30/attachment-0001.htm>


More information about the debian-med-commit mailing list