[med-svn] [Git][med-team/centrifuge][master] 2 commits: Fix code to build on arm64
Andreas Tille
gitlab at salsa.debian.org
Sat Nov 7 19:21:38 GMT 2020
Andreas Tille pushed to branch master at Debian Med / centrifuge
Commits:
f2b5419e by Andreas Tille at 2020-11-07T20:16:56+01:00
Fix code to build on arm64
- - - - -
43c60e3e by Andreas Tille at 2020-11-07T20:18:58+01:00
Upload to unstable
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/fix_arm_build.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+centrifuge (1.0.3-7) unstable; urgency=medium
+
+ * Fix code to build on arm64
+
+ -- Andreas Tille <tille at debian.org> Sat, 07 Nov 2020 20:13:11 +0100
+
centrifuge (1.0.3-6) unstable; urgency=medium
* Fix patch for other architectures than amd64
=====================================
debian/patches/fix_arm_build.patch
=====================================
@@ -0,0 +1,26 @@
+Description: Char needs to be declared signed if negative values are assigned
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Fri, 06 Nov 2020 16:51:21 +0100
+
+--- a/alphabet.cpp
++++ b/alphabet.cpp
+@@ -400,7 +400,7 @@ int dnacomp[5] = {
+
+ const char *iupacs = "!ACMGRSVTWYHKDBN!acmgrsvtwyhkdbn";
+
+-char mask2iupac[16] = {
++signed char mask2iupac[16] = {
+ -1,
+ 'A', // 0001
+ 'C', // 0010
+--- a/alphabet.h
++++ b/alphabet.h
+@@ -65,7 +65,7 @@ extern uint8_t dinuc2color[5][5];
+ /// corresponding 2-bit nucleotide
+ extern uint8_t nuccol2nuc[5][5];
+ /// Convert a 4-bit mask into an IUPAC code
+-extern char mask2iupac[16];
++extern signed char mask2iupac[16];
+
+ /// Convert an ascii color to an ascii dna char
+ extern char col2dna[];
=====================================
debian/patches/series
=====================================
@@ -5,3 +5,4 @@ hardening.patch
no_msse2.patch
2to3.patch
enable_arm64_and_others.patch
+fix_arm_build.patch
View it on GitLab: https://salsa.debian.org/med-team/centrifuge/-/compare/a80bc8c7792c0a0536f22a197f257c34ded5775c...43c60e3eb750080b8d260ffdd08d676a25fe171f
--
View it on GitLab: https://salsa.debian.org/med-team/centrifuge/-/compare/a80bc8c7792c0a0536f22a197f257c34ded5775c...43c60e3eb750080b8d260ffdd08d676a25fe171f
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/20201107/1699416f/attachment-0001.html>
More information about the debian-med-commit
mailing list