Andreas Tille pushed to branch master at Debian Med / diamond-aligner
Commits: 79a0b15b by Andreas Tille at 2026-11-01T06:54:31+01:00 Add patch for s390x which is missing in upstream release - - - - - fb8a3faa by Andreas Tille at 2026-11-01T07:06:49+01:00 Upload to unstable - - - - - 3 changed files: - debian/changelog - + debian/patches/093dafab9f9ecf2a0666ddd0dda48e9eff29b7c6.patch - + debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +diamond-aligner (2.2.8-2) unstable; urgency=medium + + * Add patch for s390x which is missing in upstream release + Closes: #1152701 + + -- Andreas Tille <[email protected]> Sun, 01 Nov 2026 06:58:44 +0100 + diamond-aligner (2.2.8-1) unstable; urgency=medium * New upstream version ===================================== debian/patches/093dafab9f9ecf2a0666ddd0dda48e9eff29b7c6.patch ===================================== @@ -0,0 +1,36 @@ +From 093dafab9f9ecf2a0666ddd0dda48e9eff29b7c6 Mon Sep 17 00:00:00 2001 +From: Pranav P <[email protected]> +Date: Sat, 26 Sep 2026 17:14:10 +0530 +Subject: [PATCH] Fix: Adding unhandled byteswaps for fixing endianness issues + (#986) + +--- + src/legacy/dmnd/dmnd.cpp | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +--- a/src/legacy/dmnd/dmnd.cpp ++++ b/src/legacy/dmnd/dmnd.cpp +@@ -111,7 +111,7 @@ void serialize(File& file, const Sequenc + + SequenceFile::SeqInfo DatabaseFile::read_seqinfo() { + SeqInfo r; +- file_.read(r); ++ file_ >> r; + pos_array_offset += SeqInfo::SIZE; + return r; + } +@@ -407,6 +407,7 @@ bool DatabaseFile::is_diamond_db(const s + File db_file(file_name, "rb"); + uint64_t magic_number = 0; + db_file.read_max(&magic_number, sizeof(uint64_t)); ++ magic_number = big_endian_byteswap(magic_number); + bool r = (magic_number == ReferenceHeader::MAGIC_NUMBER); + db_file.close(); + return r; +@@ -640,4 +641,4 @@ void DatabaseFile::print_info() const { + *message_stream << "(type: " << to_string(type()) << ", "; + *message_stream << "sequences: " << sequence_count().value() << ", "; + *message_stream << "letters: " << letters().value() << ", build version: " << ref_header.build << ')' << endl; +-} +\ No newline at end of file ++} ===================================== debian/patches/series ===================================== @@ -0,0 +1 @@ +093dafab9f9ecf2a0666ddd0dda48e9eff29b7c6.patch View it on GitLab: https://salsa.debian.org/med-team/diamond-aligner/-/compare/86384c6133b45ea8640485a73391ec9061ef3efc...fb8a3faab5336ffba80364d09ec3380704271a13 -- View it on GitLab: https://salsa.debian.org/med-team/diamond-aligner/-/compare/86384c6133b45ea8640485a73391ec9061ef3efc...fb8a3faab5336ffba80364d09ec3380704271a13 You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
