svn commit: r469950 - in head/games/sdl-ball: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon May 14 18:54:37 UTC 2018
Author: amdmi3
Date: Mon May 14 18:54:35 2018
New Revision: 469950
URL: https://svnweb.freebsd.org/changeset/ports/469950
Log:
- Fix build with clang60
Added:
head/games/sdl-ball/files/patch-main.cpp (contents, props changed)
head/games/sdl-ball/files/patch-menu.cpp (contents, props changed)
Modified:
head/games/sdl-ball/Makefile
Modified: head/games/sdl-ball/Makefile
==============================================================================
--- head/games/sdl-ball/Makefile Mon May 14 18:47:41 2018 (r469949)
+++ head/games/sdl-ball/Makefile Mon May 14 18:54:35 2018 (r469950)
@@ -20,7 +20,7 @@ USES= dos2unix gmake tar:xz
USE_SDL= sdl mixer image ttf
USE_GL= gl glu
MAKE_ENV= DATADIR=${DATADIR}/
-DOS2UNIX_FILES= main.cpp
+DOS2UNIX_FILES= main.cpp menu.cpp
PLIST_FILES= bin/${PORTNAME} \
share/applications/${PORTNAME}.desktop \
Added: head/games/sdl-ball/files/patch-main.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/sdl-ball/files/patch-main.cpp Mon May 14 18:54:35 2018 (r469950)
@@ -0,0 +1,11 @@
+--- main.cpp.orig 2018-05-14 18:46:05 UTC
++++ main.cpp
+@@ -3762,7 +3762,7 @@ int main (int argc, char *argv[]) {
+
+ difficulty = static_difficulty;
+
+- cout << "SDL-Ball v "VERSION << endl;
++ cout << "SDL-Ball v " VERSION << endl;
+
+ // default to "" (If this have a 0 len after trying to getenv, it defaults to ./)
+ privFile.programRoot = "";
Added: head/games/sdl-ball/files/patch-menu.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/sdl-ball/files/patch-menu.cpp Mon May 14 18:54:35 2018 (r469950)
@@ -0,0 +1,11 @@
+--- menu.cpp.orig 2016-08-25 16:21:38 UTC
++++ menu.cpp
+@@ -204,7 +204,7 @@ public:
+ switch(t)
+ {
+ case 0:
+- sprintf(highScores[t], "SDL-BALL v "VERSION );
++ sprintf(highScores[t], "SDL-BALL v " VERSION );
+ break;
+ case 1:
+ sprintf(highScores[t], "-----------------------");
More information about the svn-ports-all
mailing list