diff options
Diffstat (limited to 'audio/bmpx/patches/patch-ab')
-rw-r--r-- | audio/bmpx/patches/patch-ab | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/bmpx/patches/patch-ab b/audio/bmpx/patches/patch-ab index e3ad7ed63dd..17c6805e1cf 100644 --- a/audio/bmpx/patches/patch-ab +++ b/audio/bmpx/patches/patch-ab @@ -1,11 +1,11 @@ -$NetBSD: patch-ab,v 1.4 2007/08/31 17:08:54 drochner Exp $ +$NetBSD: patch-ab,v 1.5 2007/10/27 00:35:17 wiz Exp $ ---- jnetlib/connection.cpp.orig 2007-08-11 20:41:49.000000000 +0200 +--- jnetlib/connection.cpp.orig 2007-10-18 17:17:06.000000000 +0000 +++ jnetlib/connection.cpp -@@ -215,7 +215,16 @@ void JNL_Connection::run(int max_send_by - sigdelset (&sigs, SIGSEGV); - sigdelset (&sigs, SIGKILL); - sigdelset (&sigs, SIGSTOP); +@@ -224,8 +224,17 @@ void JNL_Connection::run(int max_send_by + + if (select_retval == -1) + #else +#ifdef __DragonFly__ + sigset_t cur_set; + sigprocmask(SIG_SETMASK, &sigs, &cur_set); @@ -15,6 +15,7 @@ $NetBSD: patch-ab,v 1.4 2007/08/31 17:08:54 drochner Exp $ + if (select_retval == -1) +#else if (pselect(m_socket+1,&f[0],&f[1],&f[2],&ts,&sigs)==-1) + #endif +#endif { m_errorstr="connecting to host (calling select())"; |