1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- Fix build with clang 6

This commit is contained in:
Dmitry Marakasov 2018-07-03 16:36:03 +00:00
parent dfe7944af1
commit 9d9b02fcb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473846

View File

@ -0,0 +1,11 @@
--- src/convert/convert.cc.orig 2008-04-14 18:19:13 UTC
+++ src/convert/convert.cc
@@ -64,7 +64,7 @@ available on the StarPlot web page, you
in that package for more information.") << endl << endl;
do {
- moredata = infile.getline(record, 999, '\n');
+ moredata = (bool)infile.getline(record, 999, '\n');
record[999] = 0;
// $ ; and , have special meanings to StarPlot, so purge them: