diff options
author | William Grzybowski <wg@FreeBSD.org> | 2014-08-12 16:26:34 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2014-08-12 16:26:34 +0000 |
commit | 5f7eb4f449afbd395a27626f17221b29cd27e627 (patch) | |
tree | 0378c9ce70cbcd7ffb49039235437d5fb0977c88 /games/dangerdeep/files/patch-src__condvar.h | |
parent | Add a USES=imake:noman to make NO_INSTALL_MANPAGES go away. (diff) |
games/dangerdeep: support stage
- Fix build on 10
PR: 192585
Submitted by: christian.mangin gmail com
Notes
Notes:
svn path=/head/; revision=364719
Diffstat (limited to 'games/dangerdeep/files/patch-src__condvar.h')
-rw-r--r-- | games/dangerdeep/files/patch-src__condvar.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/games/dangerdeep/files/patch-src__condvar.h b/games/dangerdeep/files/patch-src__condvar.h new file mode 100644 index 000000000000..06f52b5bea5f --- /dev/null +++ b/games/dangerdeep/files/patch-src__condvar.h @@ -0,0 +1,18 @@ +--- ./src/condvar.h.orig 2007-06-11 11:16:23.000000000 -0400 ++++ ./src/condvar.h 2014-08-11 09:56:15.000000000 -0400 +@@ -43,13 +43,13 @@ + + /// wait on condition + ///@param m - mutex to encapsulate waiting condition +- void wait(mutex& m); ++ void wait(::mutex& m); + + /// wait on condition with timeout + ///@param m - mutex to encapsulate waiting condition + ///@param ms - timeout value in milliseconds + ///@return true when woken up by signal, false on timeout +- bool timed_wait(mutex& m, unsigned ms); ++ bool timed_wait(::mutex& m, unsigned ms); + + /// send signal to threads that are waiting on the condition. + ///@note Note that before sending the signal you must make the condition false that would |