[MPlayer-dev-eng] Some bugs (and fixes) in HEAD

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Mon Oct 25 20:43:18 CEST 2004


On Sunday, 24 October 2004 at 19:04, Bernhard Rosenkraenzer wrote:
> Hi,
> some issues compiling current HEAD:
> 
> - It barfs when compiling libavcodec/dsputil.c, because mplayer's config.h has 
> "#define restrict restrict", and apparently gcc 3.4.2 doesn't like infinite 
> recursion. Fix attached.
[...]
> --- /usr/src/CVS/mplayer/configure	2004-10-24 16:09:56.000000000 +0200
> +++ mplayer/configure	2004-10-24 18:50:46.000000000 +0200
> @@ -2276,6 +2313,13 @@
>    echores "none"
>  fi
>  
> +# Avoid infinite recursion loop ("#define restrict restrict")
> +if [ "$_def_restrict_keyaord" != "restrict" ]; then
                        ^^^^^^^
                        typo

> +  _def_restrict_keyword="#define restrict $_def_restrict_keyword"
> +else
> +  _def_restrict_keyword=""
> +fi
> +
>  
>  echocheck "kstat"
>  cat > $TMPC << EOF

R.

-- 
MPlayer RPMs maintainer: http://greysector.rangers.eu.org/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-dev-eng mailing list