On Thu, Feb 25, 2016 at 03:34:37PM +0000, Josh de Kock wrote: > On 25/02/2016 14:00, Matthieu Bouron wrote: > >From: Matthieu Bouron <matthieu.bou...@stupeflix.com> > > > >Fixes build of lavd/jack on linux if dispatch happens to be available on > >this platform. dispatch, as well as its dependencies kqueue and pwq are > >generally not installed / distribued on linux systems. If it happens to > >be the case, you want to explicitely link against the libraries (using > >-ldispatch) as opposed to darwin where it is part of the standard > >library and -ldispatch doesn't work. > Systems other than OSX/darwin could potentially have a working > libdispatch/GCD as well, I know FreeBSD has a port[1].
In this case, is sem_timedwait present? In which case it wouldn't matter immediately. > Maybe it would be a good idea to check if pthreads are available (or the > system is OSX), and if not then properly check for libdispatch. > Making it OSX-only is just going to require another patch when someone using > libdispatch on another system wants it. I think this patch is just meant to fix a regression in the build. Regards, -- Clément B.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel