diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2015-11-12 18:35:53 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2015-11-12 18:35:53 +0000 |
commit | c905c203db0c9756a47ecca2243013bfa462026d (patch) | |
tree | 07ffa1194a060dd6c8f50a2046c9b422bc054830 /japanese/ming/files | |
parent | f44de4a8d49fd8ce374780f235c163a9d3d9cd1a (diff) |
Notes
Diffstat (limited to 'japanese/ming/files')
-rw-r--r-- | japanese/ming/files/patch-util_gif2dbl.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/japanese/ming/files/patch-util_gif2dbl.c b/japanese/ming/files/patch-util_gif2dbl.c index 78da800287a8..72ab6dbdee2c 100644 --- a/japanese/ming/files/patch-util_gif2dbl.c +++ b/japanese/ming/files/patch-util_gif2dbl.c @@ -1,5 +1,5 @@ ---- ../util/gif2dbl.c.orig 2002-06-24 12:21:54.000000000 +0000 -+++ ../util/gif2dbl.c 2014-12-26 17:29:52.000000000 +0000 +--- ../util/gif2dbl.c.orig 2002-06-24 12:21:54 UTC ++++ ../util/gif2dbl.c @@ -16,7 +16,6 @@ void error(char *msg) { @@ -20,3 +20,15 @@ error("Error opening file"); if(DGifSlurp(file) != GIF_OK) +@@ -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; |