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__thread.h | |
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
Notes
Notes:
svn path=/head/; revision=559822
Diffstat (limited to 'games/dangerdeep/files/patch-src__thread.h')
-rw-r--r-- | games/dangerdeep/files/patch-src__thread.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games/dangerdeep/files/patch-src__thread.h b/games/dangerdeep/files/patch-src__thread.h new file mode 100644 index 000000000000..ece066ec7311 --- /dev/null +++ b/games/dangerdeep/files/patch-src__thread.h @@ -0,0 +1,19 @@ +--- ./src/thread.h.orig 2007-06-11 11:16:23.000000000 -0400 ++++ ./src/thread.h 2014-08-11 10:14:00.000000000 -0400 +@@ -25,6 +25,7 @@ + + #include "condvar.h" + #include <stdexcept> ++#include <string> + #include <stdint.h> + + /// base class for threads. +@@ -47,7 +48,7 @@ + struct SDL_Thread* thread_id; + bool thread_abort_request; + thread_state_t thread_state; +- mutex thread_state_mutex; ++ ::mutex thread_state_mutex; + condvar thread_start_cond; + std::string thread_error_message; // to pass exception texts via thread boundaries + |