[med-svn] [Git][med-team/diamond-aligner][master] 2 commits: Enable build on any
Andreas Tille
gitlab at salsa.debian.org
Fri Jan 10 12:31:38 GMT 2020
Andreas Tille pushed to branch master at Debian Med / diamond-aligner
Commits:
7ffa5f7a by Frédéric Bonnard at 2020-01-10T12:31:21+00:00
Enable build on any
On ppc (and arm*, s390*), char is unsigned, so let's be more
specific in the declaration of score_matrix.cpp
- - - - -
6f56988a by Andreas Tille at 2020-01-10T12:31:21+00:00
Merge branch 'enable-more-arches' into 'master'
Enable build on any
See merge request med-team/diamond-aligner!1
- - - - -
3 changed files:
- debian/control
- + debian/patches/fix-unsigned-char-by-default-arches.patch
- debian/patches/series
Changes:
=====================================
debian/control
=====================================
@@ -12,7 +12,7 @@ Vcs-Git: https://salsa.debian.org/med-team/diamond-aligner.git
Homepage: https://github.com/bbuchfink/diamond
Package: diamond-aligner
-Architecture: amd64
+Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
Recommends: med-config (>= 2.1)
=====================================
debian/patches/fix-unsigned-char-by-default-arches.patch
=====================================
@@ -0,0 +1,18 @@
+--- a/src/basic/score_matrix.cpp
++++ b/src/basic/score_matrix.cpp
+@@ -36,7 +36,7 @@
+
+ const double INT2_MAX = std::numeric_limits<double>::max();
+
+-const char DNA_scores[5 * 5] = {
++const signed char DNA_scores[5 * 5] = {
+ 2, -3, -3, -3, -3,
+ -3,2,-3,-3,-3,
+ -3,-3,2,-3,-3,
+@@ -317,4 +317,4 @@
+ constants[3] = lambda;
+ constants[4] = K;
+ constants_ = constants;
+-}
+\ No newline at end of file
++}
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
avoid_unwanted_optimisation.patch
82feea2aee5c82e283704b9317cb5e8abc625f90.patch
+fix-unsigned-char-by-default-arches.patch
View it on GitLab: https://salsa.debian.org/med-team/diamond-aligner/compare/e8642d330bf255334d1c6a26e1df6d2214571233...6f56988aed2194504aebdc22b63867765cd62d76
--
View it on GitLab: https://salsa.debian.org/med-team/diamond-aligner/compare/e8642d330bf255334d1c6a26e1df6d2214571233...6f56988aed2194504aebdc22b63867765cd62d76
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/20200110/52328b0b/attachment-0001.html>
More information about the debian-med-commit
mailing list