diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-14 09:14:08 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-14 09:14:08 +0800 |
commit | ff420061622f120aa54086cd322e77e824697e6d (patch) | |
tree | 1e2683325b9be790b3179a12dbeeb7a856df0afa /games | |
parent | 71431e38a865826ebdfa2201cf4a60b4ce8f7b5c (diff) | |
download | freebsd-ports-gnome-ff420061622f120aa54086cd322e77e824697e6d.tar.gz freebsd-ports-gnome-ff420061622f120aa54086cd322e77e824697e6d.tar.zst freebsd-ports-gnome-ff420061622f120aa54086cd322e77e824697e6d.zip |
Fix build with clang/libc++
Diffstat (limited to 'games')
-rw-r--r-- | games/simplevaders/files/patch-main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/games/simplevaders/files/patch-main.cpp b/games/simplevaders/files/patch-main.cpp new file mode 100644 index 000000000000..33c6035b58e2 --- /dev/null +++ b/games/simplevaders/files/patch-main.cpp @@ -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 |