aboutsummaryrefslogtreecommitdiff
path: root/games/osgg
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-13 18:34:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-09-13 18:34:20 +0000
commit4862d488e969348f08980f622a858202f0d27e31 (patch)
treecaf0556ab9dd67391be7f0005c264cb21367c798 /games/osgg
parent6b36b9b01cab021e359c70aeba25e884a2d20d17 (diff)
downloadports-4862d488e969348f08980f622a858202f0d27e31.tar.gz
ports-4862d488e969348f08980f622a858202f0d27e31.zip
Fix build with clang/libc++
Notes
Notes: svn path=/head/; revision=327175
Diffstat (limited to 'games/osgg')
-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 000000000000..92d5ff40aee0
--- /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>
+