cvs commit: ports/multimedia/transcode Makefile

Jung-uk Kim jkim at FreeBSD.org
Tue Oct 2 16:06:08 PDT 2007


On Tuesday 02 October 2007 06:23 pm, Jeremy Messenger wrote:
> On Tue, 02 Oct 2007 13:27:52 -0500, Jung-uk Kim <jkim at FreeBSD.org> 
wrote:
> > On Tuesday 02 October 2007 01:24 pm, Jeremy Messenger wrote:
> >> mezz        2007-10-02 17:24:07 UTC
> >>
> >>   FreeBSD ports repository
> >>
> >>   Modified files:
> >>     multimedia/transcode Makefile
> >>   Log:
> >>   Fix the build when audio/oss is installed by force to search
> >> for sys/soundcard.h in /usr/include first rather than oss's
> >> header.
> >>
> >>   Reported by:    Adonis adonis <adonis77 at gmail.com>
> >>
> >>   Revision  Changes    Path
> >>   1.97      +2 -3      ports/multimedia/transcode/Makefile
> >
> > FYI, I just committed fix for this in audio/oss:
> >
> > http://docs.freebsd.org/cgi/mid.cgi?200710021801.l92I1ra1093473
>
> Thanks for let me know! You said, '-CURRENT has OSS v4 compatible
> version but -STABLE does not.' Will there be a problem for -STABLE
> if an application builds with FreeBSD's soundcard.h and use oss's
> stuff in the runtime? Just wondering.

If the application does the right thing (e.g., use proper ioctl to 
find API level and do its stuff depending on the API level), it won't 
have a problem (at least in theory).  If it is does not (e.g., check 
API level at compile time and generate a different binary) AND 
sound(4) in -STABLE is loaded instead of OSS kernel modules, it MAY 
have a problem because it does not support some features in OSS v4.  
So, the chances are slim, I think. :-)

Jung-uk Kim


More information about the cvs-ports mailing list