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:
parent
dfe7944af1
commit
9d9b02fcb0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473846
11
astro/starplot/files/patch-src_convert_convert.cc
Normal file
11
astro/starplot/files/patch-src_convert_convert.cc
Normal 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:
|
Loading…
Reference in New Issue
Block a user