]> git.pld-linux.org Git - packages/tracker.git/blob - tracker-giflib.patch
b45a69885e0ce9b4d3e2e686862628e2e71c51a3
[packages/tracker.git] / tracker-giflib.patch
1 --- tracker-1.0.2/src/tracker-extract/tracker-extract-gif.c.orig        2014-05-28 10:47:09.000000000 +0200
2 +++ tracker-1.0.2/src/tracker-extract/tracker-extract-gif.c     2014-07-11 20:26:35.476861511 +0200
3 @@ -684,12 +684,15 @@
4  
5         g_free (uri);
6  
7 -       if (DGifCloseFile (gifFile) != GIF_OK) {
8  #if GIFLIB_MAJOR < 5
9 +       if (DGifCloseFile (gifFile) != GIF_OK)
10                 print_gif_error ();
11 -#else  /* GIFLIB_MAJOR < 5 */
12 +#elif (GIFLIB_MAJOR == 5) && (GIFLIB_MINOR == 0)
13 +       if (DGifCloseFile (gifFile) != GIF_OK)
14                 gif_error ("Could not close GIF file", gifFile->Error);
15 -#endif /* GIFLIB_MAJOR < 5 */
16 -       }
17 +#else  /* GIFLIB >= 5.1 */
18 +       if (DGifCloseFile (gifFile, &err) != GIF_OK)
19 +               gif_error ("Could not close GIF file", err);
20 +#endif /* GIFLIB_MAJOR ... */
21  
22         return TRUE;
This page took 0.058828 seconds and 2 git commands to generate.