diff options
author | ben <ben@pkgsrc.org> | 2003-12-20 16:51:38 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2003-12-20 16:51:38 +0000 |
commit | bf532bd7254b404cf4d14dd35e545988d4a2840d (patch) | |
tree | 2dbbe928780ffb12f6c8d17b2fa57a140f6e80ef /games/falcons-eye/patches/patch-bd | |
parent | fa3e21d921696b6b6db8cb912c82f5d5111e0f17 (diff) | |
download | pkgsrc-bf532bd7254b404cf4d14dd35e545988d4a2840d.tar.gz |
Make falcons-eye build with native pthreads.
Diffstat (limited to 'games/falcons-eye/patches/patch-bd')
-rw-r--r-- | games/falcons-eye/patches/patch-bd | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games/falcons-eye/patches/patch-bd b/games/falcons-eye/patches/patch-bd index 9414995718f..5746a518832 100644 --- a/games/falcons-eye/patches/patch-bd +++ b/games/falcons-eye/patches/patch-bd @@ -1,13 +1,15 @@ -$NetBSD: patch-bd,v 1.1.1.1 2002/01/21 11:56:17 pooka Exp $ +$NetBSD: patch-bd,v 1.2 2003/12/20 16:51:38 ben Exp $ ---- win/jtp/jtp_sdl.c.orig Mon Jul 2 07:05:50 2001 +--- win/jtp/jtp_sdl.c.orig 2001-07-02 07:05:50.000000000 -0700 +++ win/jtp/jtp_sdl.c -@@ -405,6 +405,9 @@ +@@ -405,6 +405,11 @@ void jtp_SDLPollForMessage(char waitform { SDL_Event cur_event; ++#ifdef _PTH_PTHREAD_H_ + /* give the SDL audio thread a chance */ + pthread_yield_np(); ++#endif + /* Process any waiting messages */ jtp_sdl_polled_message_arrived = JTP_SDL_POLLED_MESSAGE_NOT_ARRIVED; |