SlackBuildsOrg/gis/xplanet/giflib6.patch
Benjamin Trigona-Harany aa2d1dcd1c
gis/xplanet: Updated for version 1.3.1.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
2017-01-24 07:23:14 +07:00

30 lines
804 B
Diff

diff -wbBur xplanet-1.3.1/src/libimage/gif.c xplanet-1.3.1.q/src/libimage/gif.c
--- xplanet-1.3.1/src/libimage/gif.c 2013-02-16 23:37:47.000000000 +0400
+++ xplanet-1.3.1.q/src/libimage/gif.c 2016-03-14 17:41:14.244144734 +0300
@@ -179,7 +179,7 @@
}
}
- if (DGifCloseFile(GifFile) == GIF_ERROR) {
+ if (DGifCloseFile(GifFile, NULL) == GIF_ERROR) {
return(0);
}
@@ -493,7 +493,7 @@
static void QuitGifError(GifFileType *GifFile)
{
fprintf(stderr, "Error writing GIF file\n");
- if (GifFile != NULL) EGifCloseFile(GifFile);
+ if (GifFile != NULL) EGifCloseFile(GifFile, NULL);
}
int
@@ -589,7 +589,7 @@
Ptr += width;
}
- if (EGifCloseFile(GifFile) == GIF_ERROR)
+ if (EGifCloseFile(GifFile, NULL) == GIF_ERROR)
{
QuitGifError(GifFile);