aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-09-14 02:33:54 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-09-14 02:33:54 +0800
commit6490a38997098eb337a8f7972741ace923b792ef (patch)
treeac24a03a2640a43598386b57c7a26f8a3771d15d /games
parentdae57210d1eb9d281a245203961e33cafc81df45 (diff)
downloadfreebsd-ports-graphics-6490a38997098eb337a8f7972741ace923b792ef.tar.gz
freebsd-ports-graphics-6490a38997098eb337a8f7972741ace923b792ef.tar.zst
freebsd-ports-graphics-6490a38997098eb337a8f7972741ace923b792ef.zip
Fix build with clang/libc++
Diffstat (limited to 'games')
-rw-r--r--games/sdl-ball/files/patch-main.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/games/sdl-ball/files/patch-main.cpp b/games/sdl-ball/files/patch-main.cpp
index 2027d90c1ec..ce3314619da 100644
--- a/games/sdl-ball/files/patch-main.cpp
+++ b/games/sdl-ball/files/patch-main.cpp
@@ -1,6 +1,14 @@
---- main.cpp.orig 2009-01-11 19:09:56.000000000 +0300
-+++ main.cpp 2013-05-30 21:59:20.884120034 +0400
-@@ -1420,7 +1420,7 @@
+--- main.cpp.orig 2013-09-13 20:14:07.890226440 +0400
++++ main.cpp 2013-09-13 20:14:24.001226100 +0400
+@@ -31,6 +31,7 @@
+ #include <vector>
+ #include <sys/time.h>
+ #include <sys/stat.h>
++#include <unistd.h> // for usleep()
+
+ #include <dirent.h>
+
+@@ -1420,7 +1421,7 @@
//Leaves an trail of the ball
class tracer {
private: