[MPlayer-dev-eng] [PATCH] Fix compilation error in libmpdemux/demux_gif.c
Alexander Strasser
eclipse7 at gmx.net
Mon Jul 22 00:22:17 CEST 2013
On 2013-07-17 23:57 +0200, Alexander Strasser wrote:
> On 2013-07-15 19:10 +0200, Nicolas Coiffier wrote:
> [...]
> > > > > > A little googling give me the following link:
> > > > > > https://bugs.archlinux.org/task/36039
> > > > > >
> > > > > > I applied it on svn revision 36356, and it worked fine for me. So I
> > > > > > transfer this patch to the appropriate mplayer mailing-list.
> > >
> > > If you like you could do something in the mean time. Build
> > > MPlayer with the patch applied. Afterwards if it all built fine,
> > > do:
> > >
> > > rm libmpdemux/demux_gif.o
> > > make ibmpdemux/demux_gif.o
> > >
> > > Then post the complete output of the second command here.
> > >
> > >
> > Here is the output of the make command (with the patch applied):
> >
> > make libmpdemux/demux_gif.o
> > cc -MMD -MP -Wundef -Wall -Wno-switch -Wno-parentheses -Wpointer-arith
> > -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes
> > -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement
> > -std=gnu99 -Werror-implicit-function-declaration -D_POSIX_C_SOURCE=200112
> > -D_XOPEN_SOURCE=600 -D_ISOC99_SOURCE -I. -Iffmpeg -O4 -march=native
> > -mtune=native -pipe -ffast-math -fomit-frame-pointer -fno-tree-vectorize
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> > -Ilibdvdread4 -fpie -DPIC -D_REENTRANT -I/usr/include/ -D_REENTRANT
> > -I/usr/include/freetype2 -I/usr/include/opus
> > -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -c -o
> > libmpdemux/demux_gif.o libmpdemux/demux_gif.c
>
> Thanks for providing the output! I can reproduce compile error here
> with unpatched demux_gif.c now. I plan to try the patch and investigate
> tomorrow if time permits. I will reply here again as soon as I have news.
I have developed a patch and posted it with the subject
[PATCH] Support newer GIFLIB versions
Could you give it a try?
It should solve your problem and also work with newer GIFLIB versions.
Actually I didn't yet test with your version, so please pardon me if it
doesn't work.
Alexander
More information about the MPlayer-dev-eng
mailing list