aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-09-14 02:34:20 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-09-14 02:34:20 +0800
commitd7beb00db855e2e2d206ddcc9f374eb43769abef (patch)
treecaf0556ab9dd67391be7f0005c264cb21367c798 /games
parentc79a607c7b437309b702fa26790e4cb479d235db (diff)
downloadfreebsd-ports-graphics-d7beb00db855e2e2d206ddcc9f374eb43769abef.tar.gz
freebsd-ports-graphics-d7beb00db855e2e2d206ddcc9f374eb43769abef.tar.zst
freebsd-ports-graphics-d7beb00db855e2e2d206ddcc9f374eb43769abef.zip
Fix build with clang/libc++
Diffstat (limited to 'games')
-rw-r--r--games/osgg/files/patch-main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/games/osgg/files/patch-main.cpp b/games/osgg/files/patch-main.cpp
new file mode 100644
index 00000000000..92d5ff40aee
--- /dev/null
+++ b/games/osgg/files/patch-main.cpp
@@ -0,0 +1,10 @@
+--- main.cpp.orig 2013-09-13 20:24:16.310226753 +0400
++++ main.cpp 2013-09-13 20:24:50.127352703 +0400
+@@ -26,6 +26,7 @@
+ #include <fstream>
+ #include <iostream>
+ #include <sstream>
++#include <unistd.h> // for usleep()
+
+ #include <sys/time.h>
+