NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fwd: Re: lib/50276: [PATCH] Portability fixes for ossaudio.c



The following reply was made to PR lib/50276; it has been noted by GNATS.

From: Antti Kantee <pooka%iki.fi@localhost>
To: rmh%gnu.org@localhost, rumpkernel-users%freelists.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: Fwd: Re: lib/50276: [PATCH] Portability fixes for ossaudio.c
Date: Thu, 24 Sep 2015 18:21:51 +0000

 On 24/09/15 18:15, Robert Millan wrote:
 >> 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>.
 
 No, it does *not* include NetBSD <sys/soundcard.h>.  The entire point of 
 the module is to not use it(!)
 
 > 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.
 


Home | Main Index | Thread Index | Old Index