[med-svn] [t-coffee] 01/03: Fix gcc-7 issues

Andreas Tille tille at debian.org
Mon Aug 28 13:30:26 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 255291494ff0324558a5e34170d3242560c91e64
Author: Andreas Tille <tille at debian.org>
Date:   Mon Aug 28 15:24:53 2017 +0200

    Fix gcc-7 issues
---
 debian/patches/gcc-7.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/patches/gcc-7.patch b/debian/patches/gcc-7.patch
index 22702ac..70bb338 100644
--- a/debian/patches/gcc-7.patch
+++ b/debian/patches/gcc-7.patch
@@ -14,3 +14,14 @@ Description: Fix some string assignments
  	     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]);
+--- a/t_coffee_source/util_lib/util.c
++++ b/t_coffee_source/util_lib/util.c
+@@ -5301,7 +5301,7 @@ char* store_string_variable (char *name,
+ 		  val_array[a]=(char*)vrealloc (val_array[a], strlen (v)+1);
+ 		  sprintf (val_array[a],"%s",v);
+ 		}
+-	      else val_array[a]='\0';
++	      else val_array[a]="";
+ 	      return v;
+ 	    }
+ 	}

-- 
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