diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
commit | 26b4c8f71f91d22e081b27814782686edde0c90a (patch) | |
tree | 1c321c39372c25d8634e75b5c8e08edc676b296d /games/dangerdeep/files/patch-src__subsim.cpp | |
parent | New port: math/py-optuna: A hyperparameter optimization framework (diff) |
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed
With hat: portmgr
Diffstat (limited to 'games/dangerdeep/files/patch-src__subsim.cpp')
-rw-r--r-- | games/dangerdeep/files/patch-src__subsim.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games/dangerdeep/files/patch-src__subsim.cpp b/games/dangerdeep/files/patch-src__subsim.cpp new file mode 100644 index 000000000000..e8155a51c6a4 --- /dev/null +++ b/games/dangerdeep/files/patch-src__subsim.cpp @@ -0,0 +1,19 @@ +--- src/subsim.cpp.orig 2007-06-11 15:16:23 UTC ++++ src/subsim.cpp +@@ -31,6 +31,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, + #else + #include "oglext/OglExt.h" + #endif ++#include <unistd.h> + #include <glu.h> + #include <SDL.h> + #include <SDL_net.h> +@@ -1735,7 +1736,7 @@ int mymain(list<string>& args) + glEnable(GL_LIGHT0); + + // create and start thread for music handling. +- thread::auto_ptr<music> mmusic(new music(use_sound)); ++ ::thread::auto_ptr<music> mmusic(new music(use_sound)); + mmusic->start(); + + reset_loading_screen(); |