summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2003-12-20 16:51:38 +0000
committerben <ben@pkgsrc.org>2003-12-20 16:51:38 +0000
commit4620b28ba6c3d50ed7a843c800fb36e8e720cc31 (patch)
tree2dbbe928780ffb12f6c8d17b2fa57a140f6e80ef
parentaa7a94798f6c036ccc46e443e8d0df2cdb98b06b (diff)
downloadpkgsrc-4620b28ba6c3d50ed7a843c800fb36e8e720cc31.tar.gz
Make falcons-eye build with native pthreads.
-rw-r--r--games/falcons-eye/distinfo4
-rw-r--r--games/falcons-eye/patches/patch-bd8
2 files changed, 7 insertions, 5 deletions
diff --git a/games/falcons-eye/distinfo b/games/falcons-eye/distinfo
index d4a63cf994a..bd2a9e0983d 100644
--- a/games/falcons-eye/distinfo
+++ b/games/falcons-eye/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2003/07/28 16:03:19 wiz Exp $
+$NetBSD: distinfo,v 1.3 2003/12/20 16:51:38 ben Exp $
SHA1 (nethack_source_331_jtp_193.zip) = 8e002c7f7ca039de875b3c797b2584a517aad6ce
Size (nethack_source_331_jtp_193.zip) = 8405675 bytes
@@ -12,7 +12,7 @@ SHA1 (patch-ag) = 6aeae6bde079b9c9081f6e32523687010c9bc674
SHA1 (patch-ba) = 8fb7c3ad5fdc5f35e34b1ac87bc60e1a22a91c03
SHA1 (patch-bb) = 899a966ec39b749618cad9c6e420cfd865eb7d5e
SHA1 (patch-bc) = ef228db9215e8c4d0e03a079ede1a7a195ecde58
-SHA1 (patch-bd) = 003e8b8d8a1a1e7462fe8090e95c2eddf48e1fc7
+SHA1 (patch-bd) = 8294b1e7a16edbd8b05c453984b22f1fbda3d7f1
SHA1 (patch-be) = 632a256780e80c8127635080df5112ce7678d4df
SHA1 (patch-bf) = b58009fe635389483c34b50afca6aba9cb75fc72
SHA1 (patch-bh) = 65bf424d1e60b0ee9b9acc8b04359f2f4621e605
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;