summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authort-nojiri <68096132+t-nojiri@users.noreply.github.com>2020-10-11 10:33:08 +0900
committerGitHub <noreply@github.com>2020-10-10 20:33:08 -0500
commitb7ed6b4fe05f8eb555bf2932c2523d2309867f22 (patch)
tree9544842047f6869209578a26c55a1f76b797eb51 /var
parent588cf7e03cd7c9da5f20e4ec3fbcd5f645a3adea (diff)
downloadspack-b7ed6b4fe05f8eb555bf2932c2523d2309867f22.tar.gz
spack-b7ed6b4fe05f8eb555bf2932c2523d2309867f22.tar.bz2
spack-b7ed6b4fe05f8eb555bf2932c2523d2309867f22.tar.xz
spack-b7ed6b4fe05f8eb555bf2932c2523d2309867f22.zip
jellyfish@1.1.11: Change the type of the array dna_codes to the signed type. (#19019)
* jellyfish@1.1.11: Change the type of the array dna_codes to the signed type. * jellyfish@1.1.11: Add patch file
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/jellyfish/dna_codes.patch22
-rw-r--r--var/spack/repos/builtin/packages/jellyfish/package.py2
2 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/jellyfish/dna_codes.patch b/var/spack/repos/builtin/packages/jellyfish/dna_codes.patch
new file mode 100644
index 0000000000..59bcce3e93
--- /dev/null
+++ b/var/spack/repos/builtin/packages/jellyfish/dna_codes.patch
@@ -0,0 +1,22 @@
+--- spack-src/jellyfish/dna_codes.hpp.bak 2013-05-30 04:45:57.000000000 +0900
++++ spack-src/jellyfish/dna_codes.hpp 2020-09-28 10:37:14.580832234 +0900
+@@ -14,7 +14,7 @@
+ static const uint_t CODE_IGNORE = (uint_t)-2;
+ static const uint_t CODE_COMMENT = (uint_t)-3;
+ static const uint_t CODE_NOT_DNA = ((uint_t)1) << (bsizeof(uint_t) - 1);
+-extern const char dna_codes[256];
++extern const signed char dna_codes[256];
+ };
+
+ #endif /* __DNA_CODE_HPP__ */
+--- spack-src/jellyfish/dna_codes.cc.bak 2013-05-30 04:45:57.000000000 +0900
++++ spack-src/jellyfish/dna_codes.cc 2020-09-28 10:29:08.810848835 +0900
+@@ -7,7 +7,7 @@
+ #define C 1
+ #define G 2
+ #define T 3
+-const char jellyfish::dna_codes[256] = {
++const signed char jellyfish::dna_codes[256] = {
+ O, O, O, O, O, O, O, O, O, O, I, O, O, O, O, O,
+ O, O, O, O, O, O, O, O, O, O, O, O, O, O, O, O,
+ O, O, O, O, O, O, O, O, O, O, O, O, O, R, O, O,
diff --git a/var/spack/repos/builtin/packages/jellyfish/package.py b/var/spack/repos/builtin/packages/jellyfish/package.py
index 67092a81ad..1d5b7febc1 100644
--- a/var/spack/repos/builtin/packages/jellyfish/package.py
+++ b/var/spack/repos/builtin/packages/jellyfish/package.py
@@ -20,3 +20,5 @@ class Jellyfish(AutotoolsPackage):
depends_on('perl', type=('build', 'run'))
depends_on('python', type=('build', 'run'))
+
+ patch('dna_codes.patch', when='@1.1.11')