diff --git a/gtextutils/TODO b/gtextutils/TODO index b687356e6b..fdee55422c 100644 --- a/gtextutils/TODO +++ b/gtextutils/TODO @@ -1 +1 @@ -Clean up and test +Change name to libgtextutils diff --git a/gtextutils/patches/patch-src_gtextutils_text__line__reader.cpp b/gtextutils/patches/patch-src_gtextutils_text__line__reader.cpp new file mode 100644 index 0000000000..7728af525e --- /dev/null +++ b/gtextutils/patches/patch-src_gtextutils_text__line__reader.cpp @@ -0,0 +1,15 @@ +$NetBSD$ + +# Modern C++ compilers don't implicitly convert istream to bool + +--- src/gtextutils/text_line_reader.cpp.orig 2014-01-05 14:09:32.000000000 -0600 ++++ src/gtextutils/text_line_reader.cpp 2019-01-07 19:39:57.233565835 -0600 +@@ -44,6 +44,7 @@ bool TextLineReader::next_line() + if (input_stream.eof()) + return false; + +- return input_stream ; ++ // Fix based on the only code change since 0.7 ++ return input_stream.good() ; + } +