[med-svn] samtools 02/06: Update patches.
Andreas Tille
tille at debian.org
Mon Dec 11 14:55:57 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository samtools.
commit 4eb68d19c4416e6130a205efc5c2ff58708e9031
Author: Andreas Tille <tille at debian.org>
Date: Mon Dec 11 15:27:22 2017 +0100
Update patches.
---
debian/patches/mayhem.patch | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/patches/mayhem.patch b/debian/patches/mayhem.patch
index 537561a..8b0ed8a 100644
--- a/debian/patches/mayhem.patch
+++ b/debian/patches/mayhem.patch
@@ -7,7 +7,7 @@ Description: Fix Mayhem issues caused by unlimited reads of gz input
--- a/misc/maq2sam.c
+++ b/misc/maq2sam.c
-@@ -100,14 +100,37 @@
+@@ -99,14 +99,37 @@ maqmap_t *maqmap_read_header(gzFile fp)
}
assert(mm->format == MAQMAP_FORMAT_NEW);
}
@@ -46,7 +46,7 @@ Description: Fix Mayhem issues caused by unlimited reads of gz input
gzread(fp, &mm->n_mapped_reads, sizeof(uint64_t));
return mm;
}
-@@ -119,6 +142,8 @@
+@@ -118,6 +141,8 @@ void maq2tam_core(gzFile fp, const char
int ret;
m1 = &mm1;
mm = maqmap_read_header(fp);
@@ -55,7 +55,7 @@ Description: Fix Mayhem issues caused by unlimited reads of gz input
while ((ret = gzread(fp, m1, sizeof(maqmap1_t))) == sizeof(maqmap1_t)) {
int j, flag = 0, se_mapq = m1->seq[MAX_READLEN-1];
if (m1->flag) flag |= 1;
-@@ -193,6 +218,11 @@
+@@ -192,6 +217,11 @@ int main(int argc, char *argv[])
return 1;
}
fp = strcmp(argv[1], "-")? gzopen(argv[1], "r") : gzdopen(fileno(stdin), "r");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/samtools.git
More information about the debian-med-commit
mailing list