svn commit: r475863 - head/games/columns/files
Tobias Kortkamp
tobik at FreeBSD.org
Mon Jul 30 07:09:39 UTC 2018
Author: tobik
Date: Mon Jul 30 07:09:38 2018
New Revision: 475863
URL: https://svnweb.freebsd.org/changeset/ports/475863
Log:
games/colums: Fix build with Clang 6
columns.cc:1363:19: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
printf("Columns "VERSION" - Copyright (C) 1999,2000 Daniel Heck\n");
^
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/columns-1.2b_9.log
Modified:
head/games/columns/files/patch-columns.cc
Modified: head/games/columns/files/patch-columns.cc
==============================================================================
--- head/games/columns/files/patch-columns.cc Mon Jul 30 06:11:54 2018 (r475862)
+++ head/games/columns/files/patch-columns.cc Mon Jul 30 07:09:38 2018 (r475863)
@@ -20,7 +20,7 @@
}
// read character chunks one by one
-@@ -357,7 +357,7 @@ highscore_entry highscore[HIGHSCORE_ENTR
+@@ -357,7 +357,7 @@ highscore_entry highscore[HIGHSCORE_ENTRIES];
void highscore_save()
{
@@ -38,7 +38,13 @@
FILE *fp = fopen(fname,"rb");
if (fp != NULL) {
for (int i=0; i<HIGHSCORE_ENTRIES; i++) {
-@@ -1365,6 +1365,7 @@ void eval_args(int argc, char **argv)
+@@ -1360,11 +1360,12 @@ void eval_args(int argc, char **argv)
+ }
+ }
+ if (show_usage) {
+- printf("Columns "VERSION" - Copyright (C) 1999,2000 Daniel Heck\n");
++ printf("Columns " VERSION " - Copyright (C) 1999,2000 Daniel Heck\n");
+ printf("usage: columns [--nosound] [--bg=filename.bmp]\n\n");
}
}
More information about the svn-ports-head
mailing list