summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-07-03 16:36:03 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-07-03 16:36:03 +0000
commit9d9b02fcb0eab504482215a490ea75cda5fdf167 (patch)
tree9cd8760d7ea9b2031c62ce149c7edfb7e3c657d6
parentlang/monodevelop: reroll distinfo (diff)
- Fix build with clang 6
Notes
Notes: svn path=/head/; revision=473846
-rw-r--r--astro/starplot/files/patch-src_convert_convert.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/astro/starplot/files/patch-src_convert_convert.cc b/astro/starplot/files/patch-src_convert_convert.cc
new file mode 100644
index 000000000000..a9840f45329e
--- /dev/null
+++ b/astro/starplot/files/patch-src_convert_convert.cc
@@ -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: