[MPlayer-dev-eng] [PATCH] FreeBSD DVD Fix

Diego Biurrun diego at biurrun.de
Thu Aug 19 19:17:21 CEST 2004


Bernd Ernesti writes:
> On Thu, Aug 19, 2004 at 06:34:19PM +0200, Diego Biurrun wrote:
> > jb13 at gomerbud.com writes:
> 
> > > this is for proper linking on netbsd, for an explanation why see
> > > 
> > > http://www.NetBSD.org/Documentation/elf.html
> > 
> > OK, it seems like the commented out version comes from a NetBSD
> > portability patch.  A real portable solution would have to choose
> > intelligently between the two at runtime, though.
> 
> I know and I was too lazy too make one.

It's never to late to fix your past mistakes ;-)

> > > -  pfamily=`$_cpuinfo | grep 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2 | 
> > > head -1`
> > > +  pfamily=`$_cpuinfo | grep -i 'cpu family' | cut -d ':' -f 2 | cut -d ' ' -f 2
> > >  | head -1`
> > > 
> > > from grep(1)
> > >   -i, --ignore-case
> > >      Ignore case distinctions in  both  the  PATTERN  and  the  input files.
> > 
> > Sure, but why is that needed?
> 
> Because at one point we changed the /proc/cpuinfo in NetBSD-current to return
> a different case for the cpu family, something like 'Cpu family', don't remeber
> now, but that was changed back to 'cpu family'.
> IMHO that patch should also be removed from the NetBSD pkgsrc.

OK, I'll add the amd64 thing, the rest of the patch is refused.

Diego




More information about the MPlayer-dev-eng mailing list