[med-svn] [murasaki] 01/03: d/p/gcc-6: Add patch to compile with gcc-6
Gert Wollny
gert-guest at moszumanska.debian.org
Thu Jun 30 09:16:52 UTC 2016
This is an automated email from the git hooks/post-receive script.
gert-guest pushed a commit to branch master
in repository murasaki.
commit b38706e4e45680773104ae46daa5ffe307598ef1
Author: Gert Wollny <gw.fossdev at gmail.com>
Date: Thu Jun 30 09:08:32 2016 +0000
d/p/gcc-6: Add patch to compile with gcc-6
---
debian/patches/gcc-6.patch | 13 +++++++++++++
debian/patches/series | 1 +
2 files changed, 14 insertions(+)
diff --git a/debian/patches/gcc-6.patch b/debian/patches/gcc-6.patch
new file mode 100644
index 0000000..36156b1
--- /dev/null
+++ b/debian/patches/gcc-6.patch
@@ -0,0 +1,13 @@
+--- a/src/sequence.cc
++++ b/src/sequence.cc
+@@ -2045,7 +2045,9 @@
+ histo.resize(size+1);
+ histo[size]++;
+ }
+- if(of!=cerr)
++
++ // compare the pointers instead of the objects
++ if(&of != &cerr)
+ for(unsigned i=1;i<histo.size();i++){
+ of << i << "\t" << histo[i]<<endl;
+ }
diff --git a/debian/patches/series b/debian/patches/series
index e334a56..b24666c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ hardening.patch
spelling.patch
man_syntax.patch
freebsd.patch
+gcc-6.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/murasaki.git
More information about the debian-med-commit
mailing list