[med-svn] [libgtextutils] 01/03: d/p/gcc-6.patch: fix compilation with g++-6, Closes: #811646
Gert Wollny
gert-guest at moszumanska.debian.org
Wed Jun 29 14:43:59 UTC 2016
This is an automated email from the git hooks/post-receive script.
gert-guest pushed a commit to branch debian/unstable
in repository libgtextutils.
commit 0afa56a2f8a3f89bcd10c0af4a056b52a50d1287
Author: Gert Wollny <gw.fossdev at gmail.com>
Date: Wed Jun 29 14:31:11 2016 +0000
d/p/gcc-6.patch: fix compilation with g++-6, Closes: #811646
---
debian/patches/gcc-6.patch | 10 ++++++++++
debian/patches/series | 1 +
2 files changed, 11 insertions(+)
diff --git a/debian/patches/gcc-6.patch b/debian/patches/gcc-6.patch
new file mode 100644
index 0000000..b9d2af0
--- /dev/null
+++ b/debian/patches/gcc-6.patch
@@ -0,0 +1,10 @@
+--- a/src/gtextutils/text_line_reader.cpp
++++ b/src/gtextutils/text_line_reader.cpp
+@@ -44,6 +44,6 @@
+ if (input_stream.eof())
+ return false;
+
+- return static_cast<bool>(input_stream) ;
++ return input_stream.good();
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..76d6364
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+gcc-6.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/libgtextutils.git
More information about the debian-med-commit
mailing list