From: Gert Wollny <gw.fossdev@gmail.com>
Date: Wed, 29 Jun 2014 16:47:43 +0200
Subject: Fix compilation with g++-6
Bug-Debian: https://bugs.debian.org/811646

--- a/src/gtextutils/text_line_reader.cpp
+++ b/src/gtextutils/text_line_reader.cpp
@@ -44,6 +44,6 @@ bool TextLineReader::next_line()
 	if (input_stream.eof())
 		return false;
 
-	return input_stream ;
+	return input_stream.good() ;
 }
 
