DELTA 377259 0 27 SVNO"('wf}m~_m}MRR x^PJ@|W -jSHB5i+>4ٔ4.{A_vff<{}X!ZM&2 Uv*y06`D)wRFSAKA1ytRۍFV%]ѐFZXnwE)C*qS/NEmn|w(#p?1<7NS* ֘Sjz^m%jHV9x\>_f nO `HENDREP DELTA SVNZx^uoOP_ǧ8r"ˆ3M!o㏻Z˾{]-}qgs0-IJYَ%gIcZFgt5X4h[aFA 1cE NIImage.ColorMap = NULL; +#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 + DGifCloseFile( (GifFileType *) hdl, NULL ); +#else DGifCloseFile( (GifFileType *) hdl ); +#endif CAMLreturn(Val_unit); } @@ -200,7 +208ENDREP DELTA 375667 454 484 SVNs< U Sg S88,7 +96,11 @@ value eGifCloseFile( value hdl ) segmentation faults */ ((GifFileType *)hdl)->Image.ColorMap = NULL; +#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 + EGifCloseFile( (GifFileType *) hdl, NULL ); +#else EGifCloseFile( (GifFileType *) hdl ); +#endif CAMLreturn(Val_unit); } @@ -133,7 +145ENDREP DELTA SVN+-++--- src/osgPlugins/gif/ReaderWriterGIF.cpp.orig 2013-06-03 14:04:02 UTC +++ src/osgPlugins/gif/ReaderWriterGIF.cpp @@ -561,7 +561,11 @@ GifImageStream** obj) *width_ret = giffile->SWidth; *height_ret = giffile->SHeight; *numComponents_ret = 4; +#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 + DGifCloseFile(giffile, NULL); +#else DGifCloseFile(giffile); +#endif return buffer; } ENDREP DELTA 375669 0 468 SVN~%IA*J?&N0tFx^T]k0}t*eI0r-VfTU-eӸmd荣t* UnW֟-ROv29E_CO܏mgNHTs»x_q~{M hK-DuygENDREP DELTA 375673 0 425 SVN;vvx^QK0_q ۘ [GuQL}MgKF>7 C^9K9^JO^'T$sR% KOĆ%dK+I>8d2sx8 0&f;ɊUm`.L*SUm֍JcR-MˬcGWA>NN>hfQFIзۖEDž*tkw0{cT{hoLk^Z"OL޾a][]nG˂Jgx|Q8\݈? JDggOENDREP DELTA 375643 0 372 SVNG  .Ox} UTC +++ ../util/gif2dbl.c@@ -181,7 +184,11 @@ unsigned char *readGif(char *fileName, i } /* Done! */ +#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 + DGifCloseFile(file, NULL); +#else DGifCloseFile(file); +#endif *length = size; return data; ENDREP DELTA 375618 0 403 SVN~  Y!a81,7 +81,11 @@ GifParser::GifParser(Message *message, GifParser::~GifParser() { if (m_gif) { +#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 + DGifCloseFile(m_gif, NULL); +#else DGifCloseFile(m_gif); +#endif } } @@ -99,7 +103ENDREP DELTA 394508 21026 22 SVNo-rHs4;,10 \ libgif.so:${PORTSDIR}/graphics/giflibENDREP DELTA 375672 897 879 SVN  }u }3,13 +647,21 @@ QByteArray Stream::writerGif( const Draw writeError: // Clean up the GIF converter etc +#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 + EGifCloseFile( gifImage, NULL ); +#else EGifCloseFile( gifImage ); +#endifENDREP DELTA 375620 0 397 SVN|  |$$x^QK0+][5sSpt*us$i5{7ia:a/%77|9i2B0=)EBVyUskc,^ꦃӦNJ-t%U'tD)n!j#Oz788ʑ2v/c0lcI p2nmUriy䊧79Yl,9Y(0oVݶ1sOb(dW➠-([6w`n/pa=ENDREP DELTA 375632 0 591 SVNH4 x 3v =v649,7 +661,11 @@ int gif_write(png_bytepp image, char *im return -1; } +#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5 + EGifCloseFile(fp, NULL); +#else EGifCloseFile(fp); +#endif return 0; } @@ -715,7 +731ENDREP DELTA 397064 1591 17 SVN+[OPNgV=yZ Of|5FJAg+kR@EWx^S]o0}_qIQ@TZgD FtلРi/9sMg!vccaP{N$gg0a!OYϖ)-#*Iq(_x/ izR`