[patch] wine and jack-audio-connection-kit build problem
Wine doesn't build on Debian GNU/KFreeBSD [wine buildd].
The problem (at the moment) is that jack-audio-connection-kit doesn't
build [jack buildd].
Here are the interesting lines of the [jack buildd]:
net_driver.c: In function 'net_driver_write':
net_driver.c:499: error: 'MSG_CONFIRM' undeclared (first use in this function)
Here are the interesting lines of net_driver.c (from [debian git jack]):
496 #ifdef __APPLE__
497 static const int flag = 0;
499 static const int flag = MSG_CONFIRM;
jackaudio upstream says it supports FreeBSD [jack homepage], but in
these lines of net_driver.c it seems FreeBSD in not considered.
In fact MSG_CONFIRM is linux specific [linux send(2) man page].
FreeBSD has not this problem because they use a previous version
[freebsd jack port], without this netjack feature [jack 0.115.6
I propose a patch against the jack-audio-connection-kit package
(suggested by [debian porting]).
I think changing
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
should solve the problem.
I think this patch (or similar) should be pushed upstream because it
is useful also for FreeBSD (when they'll update their port).
Can you please consider applying this patch?
[debian git jack]
[linux send(2) man page]
[freebsd jack port]
[jack 0.115.6 release notes]