Ticket #34553: giflib.diff
File giflib.diff, 1.4 KB (added by robsonpeixoto@…, 12 years ago) |
---|
-
files/patch-giflib-4.2.0.diff
1 diff -ruN src/gif2swf.c swftools-0.9.2/src/gif2swf.c 2 --- src/gif2swf.c 2011-01-02 00:30:29.000000000 -0300 3 +++ src/gif2swf.c 2012-05-22 08:57:05.000000000 -0300 4 @@ -194,6 +194,16 @@ 5 return 0; 6 } 7 8 +void PrintGifError(void) 9 +{ 10 + char *Err = GifErrorString(); 11 + 12 + if (Err != NULL) 13 + fprintf(stderr, "\nGIF-LIB error: %s.\n", Err); 14 + else 15 + fprintf(stderr, "\nGIF-LIB undefined error %d.\n", GifError()); 16 +} 17 + 18 TAG *MovieAddFrame(SWF * swf, TAG * t, char *sname, int id, int imgidx) 19 { 20 SHAPE *s; -
Portfile
3 3 PortSystem 1.0 4 4 name swftools 5 5 version 0.9.2 6 revision 2 6 7 categories graphics 7 8 maintainers nomaintainer 8 9 description SWF manipulation and generation tools … … 21 22 22 23 patchfiles patch-Makefile.common.in.diff \ 23 24 patch-configure.diff \ 24 patch-setup.py.diff 25 patch-setup.py.diff \ 26 patch-giflib-4.2.0.diff 25 27 26 28 configure.python ${prefix}/bin/python2.6 27 29