pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gtext-utils: Add source code patch, update TODO
Module Name: pkgsrc-wip
Committed By: Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By: outpaddling
Date: Mon Jan 7 19:52:10 2019 -0600
Changeset: 672ceff5032db0540b216c6860dda5460485bed0
Modified Files:
gtextutils/TODO
Added Files:
gtextutils/patches/patch-src_gtextutils_text__line__reader.cpp
Log Message:
gtext-utils: Add source code patch, update TODO
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=672ceff5032db0540b216c6860dda5460485bed0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gtextutils/TODO | 2 +-
.../patches/patch-src_gtextutils_text__line__reader.cpp | 15 +++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
diffs:
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() ;
+ }
+
Home |
Main Index |
Thread Index |
Old Index