svn commit: r473846 - head/astro/starplot/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jul 3 16:36:04 UTC 2018


Author: amdmi3
Date: Tue Jul  3 16:36:03 2018
New Revision: 473846
URL: https://svnweb.freebsd.org/changeset/ports/473846

Log:
  - Fix build with clang 6

Added:
  head/astro/starplot/files/
  head/astro/starplot/files/patch-src_convert_convert.cc   (contents, props changed)

Added: head/astro/starplot/files/patch-src_convert_convert.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/astro/starplot/files/patch-src_convert_convert.cc	Tue Jul  3 16:36:03 2018	(r473846)
@@ -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:


More information about the svn-ports-all mailing list