[med-svn] [t-coffee] 02/02: Start working on gcc-7 issues

Andreas Tille tille at debian.org
Sun Aug 27 13:59:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository t-coffee.

commit 108daea64633f4d093e8d9fa7f278dbcf37bd90e
Author: Andreas Tille <tille at debian.org>
Date:   Sun Aug 27 15:58:45 2017 +0200

    Start working on gcc-7 issues
---
 debian/changelog           |  2 ++
 debian/patches/gcc-7.patch | 16 ++++++++++++++++
 debian/patches/series      |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 949b032..a9db952 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 t-coffee (11.00.8cbe486-6) UNRELEASED; urgency=medium
 
   * Standards-Version: 4.1.0 (no changes needed)
+  * Fix some string assignments which fail build with gcc-7
+    Closes: #853677
 
  -- Andreas Tille <tille at debian.org>  Sun, 27 Aug 2017 15:36:36 +0200
 
diff --git a/debian/patches/gcc-7.patch b/debian/patches/gcc-7.patch
new file mode 100644
index 0000000..22702ac
--- /dev/null
+++ b/debian/patches/gcc-7.patch
@@ -0,0 +1,16 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sun, 27 Aug 2017 15:36:36 +0200
+Bug-Debian: https://bugs.debian.org/853677
+Description: Fix some string assignments
+
+--- a/t_coffee_source/util_lib/aln_convertion_util.c
++++ b/t_coffee_source/util_lib/aln_convertion_util.c
+@@ -5513,7 +5513,7 @@ Sequence * swap_header ( Sequence *S, Se
+ 
+ 	     list=string2list (H->seq_comment[n]);
+ 	     if ( list==NULL || atoi(list[0])==1)continue;
+-	     S->seq_comment[a]='\0';
++	     S->seq_comment[a]="";
+ 	     sprintf (S->name[a], "%s%s%s",H->name[n], list[1], list[2]);
+ 	     vfree ( S->seq_comment[a]);S->seq_comment[a]=(char*)vcalloc ( strlen (H->seq_comment[n])+1, sizeof (char));
+ 	     for (b=3; b< atoi(list[0]); b++)S->seq_comment[a]=strcat (S->seq_comment[a], list[b]);
diff --git a/debian/patches/series b/debian/patches/series
index 53d7fb7..28da59f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ set_proper_dir_permissions.patch
 mayhem.patch
 stable-linking-inputs.patch
 clustalw2.patch
+gcc-7.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/t-coffee.git



More information about the debian-med-commit mailing list