[med-svn] [Git][med-team/lastz][master] 3 commits: Fix Build issue on a couple of architectures

Andreas Tille gitlab at salsa.debian.org
Thu Oct 15 10:32:59 BST 2020



Andreas Tille pushed to branch master at Debian Med / lastz


Commits:
282376b4 by Andreas Tille at 2020-10-15T11:09:41+02:00
Fix Build issue on a couple of architectures

- - - - -
d8ffc056 by Andreas Tille at 2020-10-15T11:29:45+02:00
Fix Build issue on a couple of architectures

- - - - -
7316de81 by Andreas Tille at 2020-10-15T11:31:33+02:00
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/fix_signed_char.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+lastz (1.04.03-3) unstable; urgency=medium
+
+  * Fix Build issue on a couple of architectures
+
+ -- Andreas Tille <tille at debian.org>  Thu, 15 Oct 2020 11:30:04 +0200
+
 lastz (1.04.03-2) unstable; urgency=medium
 
   * Rules-Requires-Root: no (routine-update)


=====================================
debian/patches/fix_signed_char.patch
=====================================
@@ -0,0 +1,66 @@
+Description: Fix Build issue on a couple of architectures
+ Comparison with EOF needs to enable signed values
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 15 Oct 2020 11:02:55 +0200
+
+--- a/src/sequences.c
++++ b/src/sequences.c
+@@ -5086,14 +5086,14 @@ static int find_next_general_fasta_coi
+ 		// find the next header
+ 
+ 		ch = seq_getc (_seq);
+-		if (ch == EOF) goto failure;
++		if ((signed char)ch == EOF) goto failure;
+ 
+ 		if ((allowComments) && (ch == '#'))
+ 			{ // comment, skip to end-of-line and go back and try again
+ 			while (ch != '\n')
+ 				{
+ 				ch = seq_getc (_seq);
+-				if (ch == EOF) goto failure;
++				if ((signed char)ch == EOF) goto failure;
+ 				}
+ 			continue;
+ 			}
+@@ -5117,12 +5117,12 @@ static int find_next_general_fasta_coi
+ 		leadingWhite = 0;
+ 
+ 		ch = seq_getc (_seq);
+-		if (ch == EOF) goto failure;
++		if ((signed char)ch == EOF) goto failure;
+ 		while ((ch != '\n') && (isspace (ch)))
+ 			{
+ 			leadingWhite++;
+ 			ch = seq_getc (_seq);
+-			if (ch == EOF) goto failure;
++			if ((signed char)ch == EOF) goto failure;
+ 			}
+ 
+ 		if (ch == '\n')
+@@ -5231,7 +5231,7 @@ static int find_next_fastq_coi
+ 		debugNamesFile_14;
+ 
+ 		ch = seq_getc (_seq);
+-		if (ch == EOF) goto failure;
++		if ((signed char)ch == EOF) goto failure;
+ 
+ 		if (ch != '@')
+ 			suicidef ("internal error in find_next_fastq_coi\n"
+@@ -5241,7 +5241,7 @@ static int find_next_fastq_coi
+ 		// read the header
+ 
+ 		ch = seq_getc (_seq);
+-		if (ch == EOF) goto failure;
++		if ((signed char)ch == EOF) goto failure;
+ 
+ 		s = buffer;
+ 		while ((ch != '\n') && (ch != '\r'))
+@@ -5250,7 +5250,7 @@ static int find_next_fastq_coi
+ 				break;								//  .. truncate the header)
+ 			*(s++) = ch;
+ 			ch = seq_getc (_seq);
+-			if (ch == EOF) goto failure;
++			if ((signed char)ch == EOF) goto failure;
+ 			}
+ 		*s = 0;
+ 


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 propagate_cflags.patch
 2to3.patch
+fix_signed_char.patch



View it on GitLab: https://salsa.debian.org/med-team/lastz/-/compare/62f8b0d4376680e488d5896060e047495460eaed...7316de81a885b021583c0c4819b7194177d8a3ac

-- 
View it on GitLab: https://salsa.debian.org/med-team/lastz/-/compare/62f8b0d4376680e488d5896060e047495460eaed...7316de81a885b021583c0c4819b7194177d8a3ac
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/20201015/05b8e722/attachment-0001.html>


More information about the debian-med-commit mailing list