pkgsrc/audio/bmpx/patches/patch-ab
wiz ab36193bbd Update to 0.40.14, integrating a patch from
http://bugs.backtrace.info/view.php?id=505 for libsoup>=2.4 support.

Changes:
* gcc 4.3 support thanks to Siavash and Alexander Kahl
* spectrum analyser fixed (nenolog)
* many bug fixes
2008-10-28 22:23:40 +00:00

22 lines
679 B
Text

$NetBSD: patch-ab,v 1.6 2008/10/28 22:23:40 wiz Exp $
--- jnetlib/connection.cpp.orig 2008-03-05 21:31:04.000000000 +0000
+++ jnetlib/connection.cpp
@@ -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);
+ int select_retval = select(m_socket+1,&f[0],&f[1],&f[2],NULL);
+ sigprocmask(SIG_SETMASK, &cur_set, NULL);
+
+ 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())";
m_state=STATE_ERROR;