svn commit: r327196 - head/games/simplevaders/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Sep 14 01:14:09 UTC 2013
Author: amdmi3
Date: Sat Sep 14 01:14:08 2013
New Revision: 327196
URL: http://svnweb.freebsd.org/changeset/ports/327196
Log:
Fix build with clang/libc++
Added:
head/games/simplevaders/files/
head/games/simplevaders/files/patch-main.cpp (contents, props changed)
Added: head/games/simplevaders/files/patch-main.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/simplevaders/files/patch-main.cpp Sat Sep 14 01:14:08 2013 (r327196)
@@ -0,0 +1,10 @@
+--- main.cpp.orig 2013-09-13 20:45:37.434226771 +0400
++++ main.cpp 2013-09-13 20:46:02.845227068 +0400
+@@ -34,6 +34,7 @@
+ #include <SDL/SDL_image.h>
+ #include <math.h>
+ #include <string.h>
++#include <unistd.h> // for usleep()
+
+ #define ALIEN_SHOOT_DELAY rand() % 5000/(level/5.0f);
+ #define NUM_PSYS 20
More information about the svn-ports-all
mailing list