[med-svn] [theseus] 04/09: Increase string length of string buffer to build with gcc-7
Andreas Tille
tille at debian.org
Thu Aug 24 19:12:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to tag debian/3.3.0-6
in repository theseus.
commit ca27ea2ac85eae5d9ae44302fbea53c5a3e8846e
Author: Andreas Tille <tille at debian.org>
Date: Thu Aug 24 15:31:22 2017 +0200
Increase string length of string buffer to build with gcc-7
---
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 76d6e62..01a54ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ theseus (3.3.0-6) UNRELEASED; urgency=medium
* debhelper 10
* Standards-Version: 4.1.0 (no changes needed)
* Use DEB_SOURCE in d/rules
+ * Increase string length of string buffer to build with gcc-7
+ Closes: #853681
-- Andreas Tille <tille at debian.org> Thu, 24 Aug 2017 15:20:58 +0200
diff --git a/debian/patches/gcc-7.patch b/debian/patches/gcc-7.patch
new file mode 100644
index 0000000..89ddf65
--- /dev/null
+++ b/debian/patches/gcc-7.patch
@@ -0,0 +1,16 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Thu, 24 Aug 2017 15:20:58 +0200
+Bug-Debian: https://bugs.debian.org/853681
+Description: Increase string length of string buffer to build with gcc-7
+
+--- a/libmsa/msa.c
++++ b/libmsa/msa.c
+@@ -607,7 +607,7 @@ MSA
+ *MSAfixnamesphy(MSA *msa)
+ {
+ int i, j, cnt, dig;
+- int len = 10;
++ int len = 11;
+ char digit[len];
+
+ for(i = 0; i < msa->seqnum; ++i)
diff --git a/debian/patches/series b/debian/patches/series
index 5755fa5..668b946 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
30_fix_gcc_options.patch
+gcc-7.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/theseus.git
More information about the debian-med-commit
mailing list