El 24/09/15 a les 16:18, Antti Kantee ha escrit:
On 24/09/15 14:02, Antti Kantee wrote:
On 24/09/15 10:43, Robert Millan wrote:

FYI:

https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=50276

If Hurd soundcard.h is missing those defines, doesn't it mean that some
ossaudio programs will fail to compile on Hurd?  Why isn't adding the
missing defines to the Hurd soundcard.h possible?  The ABI used by old
binaries will not change if you add new definitions, so I'm not sure I
understand your motivation for patching NetBSD sources here.

Also, if you want to use just ossaudio on Hurd, wouldn't it be better to use 
the in-(rump-)kernel ossaudio compat translator (sys/compat/ossaudio)?

There's a big problem with using sys/compat/ossaudio on non-NetBSD: since
it is built in the kernel tree, it includes the NetBSD version of 
<sys/soundcard.h>
and also other headers like <sys/audioio.h> and <sys/ioccom.h>.

As a result it can't be ABI-compatible with applications that were built
using the system-wide version of <sys/soundcard.h>.

Note that rebuilding world is not supported with binary-based distributions, 
unlike
systems of BSD tradition where it's usually a trivial task.

--
Robert Millan

Reply via email to