Greetings I am trying to compile swftools-0.92 an optional dependency of gnash ( http://www.linuxfromscratch.org/blfs/view/svn/xsoft/gnash.html ). The computer has giflib5 ( http://www.linuxfromscratch.org/blfs/view/svn/general/giflib.html ) installed
It seems there is a problem with giflib5. I tried searching for patches but the best I came across is this ( http://nongnu.13855.n7.nabble.com/PATCH-build-support-for-giflib-5-x- td169585.html ) I tried to construct a patch thereform but most of the effort returned the following #------------Applying patch patching file src/gif2swf.c Hunk #1 FAILED at 222. Hunk #2 FAILED at 230. Hunk #3 FAILED at 465. Hunk #4 FAILED at 488. Hunk #5 FAILED at 498. 5 out of 5 hunks FAILED -- saving rejects to file src/gif2swf.c.rej #------------ and make ends like so:- #----------------------- gif2swf.c: In function 'MovieAddFrame': gif2swf.c:233:5: error: too few arguments to function 'DGifOpenFileName' if ((gft = DGifOpenFileName(sname)) == NULL) { ^ In file included from gif2swf.c:28:0: /usr/include/gif_lib.h:177:14: note: declared here GifFileType *DGifOpenFileName(const char *GifFileName, int *Error); ^ gif2swf.c:239:9: warning: implicit declaration of function 'PrintGifError' [- Wimplicit-function-declaration] PrintGifError(); ^ gif2swf.c: In function 'CheckInputFile': gif2swf.c:491:5: error: too few arguments to function 'DGifOpenFileName' if ((gft = DGifOpenFileName(s)) == NULL) { ^ In file included from gif2swf.c:28:0: /usr/include/gif_lib.h:177:14: note: declared here GifFileType *DGifOpenFileName(const char *GifFileName, int *Error); #----------------------- Some help for a suitable patch of missing dependency would be much appreciated. thanks in advance. sincerely luxInteg -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page