head 1.5; access; symbols pkgsrc-2019Q1:1.4.0.86 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.84 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.82 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.80 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.78 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.76 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.74 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.70 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.68 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.66 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.64 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.62 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.60 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.58 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.56 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.54 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.52 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.50 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.48 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.46 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.44 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.42 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.40 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.38 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.36 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.34 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.32 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.30 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.28 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.26 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.24 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.22 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.20 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.18 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.16 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.14 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.12 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.10 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.8 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.6 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.4 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.2 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.3.0.4 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.2 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.1.0.20 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.18 pkgsrc-2008Q1:1.1.0.16 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.14 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.12 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.10 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.8 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.6 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.4 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.2 pkgsrc-2006Q2-base:1.1; locks; strict; comment @# @; 1.5 date 2019.06.15.08.21.32; author adam; state dead; branches; next 1.4; commitid dDKojU8MVhFccgrB; 1.4 date 2008.11.16.11.22.55; author bjs; state Exp; branches; next 1.3; 1.3 date 2008.08.09.10.33.17; author bjs; state Exp; branches; next 1.2; 1.2 date 2008.07.31.03.58.05; author bjs; state Exp; branches; next 1.1; 1.1 date 2006.06.23.14.44.04; author jlam; state Exp; branches; next ; desc @@ 1.5 log @jack: updated to 0.125.0 0.125.0: Bug fixes @ text @$NetBSD: patch-ab,v 1.4 2008/11/16 11:22:55 bjs Exp $ BSD poll returns POLLIN, not POLLHUP, when the socket is closed, as does Darwin. --- jackd/engine.c.orig 2008-11-11 17:36:40.000000000 -0500 +++ jackd/engine.c @@@@ -1385,7 +1385,7 @@@@ handle_external_client_request (jack_eng if ((r = read (client->request_fd, &req, sizeof (req))) < (ssize_t) sizeof (req)) { if (r == 0) { -#ifdef JACK_USE_MACH_THREADS +#if defined(JACK_HOST_HAS_BSD_POLL) || defined(JACK_USE_MACH_THREADS) /* poll is implemented using select (see the macosx/fakepoll code). When the socket is closed @@@@ -1398,7 +1398,7 @@@@ handle_external_client_request (jack_eng and remove the client. */ jack_mark_client_socket_error (engine, fd); -#endif /* JACK_USE_MACH_THREADS */ +#endif /* JACK_HOST_HAS_BSD_POLL | JACK_USE_MACH_THREADS */ return 1; } else { jack_error ("cannot read request from client (%d/%d/%s)", @ 1.4 log @Update to jack-0.115.1 (from SVN). Changes: pulled in a patch to [hopefully] correct errant behavior wrt: non-blocking I/O and sockets. This is presently untested, however. Also, with this snapshot we at least have the hope that the network facility works. Includes other miscellaneous bug fixes, also. While here, explicitly enable coreaudio on Darwin and add a PLIST entry for its driver module. This is also untested, but at least installation on Darwin will not fail due to an incorrect PLIST. Also, include ../../mk/dlopen.buildlink3.mk in our bl3.mk in order to heed DLOPEN_REQUIRE_PTHREADS. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2008/08/09 10:33:17 bjs Exp $ @ 1.3 log @ Update patch comment to reflect its contents. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2008/07/31 03:58:05 bjs Exp $ d6 1 a6 1 --- jackd/engine.c.orig 2008-07-27 08:50:30.000000000 -0400 d8 1 a8 1 @@@@ -1383,7 +1383,7 @@@@ handle_external_client_request (jack_eng d17 1 a17 1 @@@@ -1396,7 +1396,7 @@@@ handle_external_client_request (jack_eng @ 1.2 log @Move audio/jack-devel to audio/jack: jack 0.100.0 was broken on many platforms and a hideous anachronism. On NetBSD-current/i386 and amd64, at least, I can say that this package works very well. If you have issues with the audio skipping and are running NetBSD 4.99.x, try updating to rev. 1.241 of sys/dev/audio.c; the changes to audio_poll() and the pause attribute handling (in large part thanks to help from jakemsr@@openbsd.org) are important for proper functioning of jack (though you may find it works regardless, depending upon your audio driver, how demanding your "workload" is, etc.). I will submit a pullup request for this change for NetBSD 4 as well. JACK now supports both our native audio API and OSS--I recommend trying both. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2008/05/04 01:02:07 bjs Exp $ d3 2 a4 2 The default watchdog timeout is 10 seconds, which is too much for usleep(). Let's nanosleep if it's available. @ 1.1 log @Ensure that the "whitespace()" macro function is always defined, as it's used within jack_transport.c. This fixes errors building audio/jack using the built-in editline library on NetBSD, and fixes the error noted in the bulk build results: http://mail-index.netbsd.org/pkgsrc-bulk/2006/06/20/0000.html @ text @d1 1 a1 1 $NetBSD$ d3 23 a25 13 --- example-clients/transport.c.orig 2005-06-02 14:31:18.000000000 -0400 +++ example-clients/transport.c @@@@ -29,6 +29,10 @@@@ #include #include +#ifndef whitespace +#define whitespace(c) (((c) == ' ') || ((c) == '\t')) +#endif + char *package; /* program name */ int done = 0; jack_client_t *client; @