diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-17 03:27:11 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-06-17 03:27:11 +0000 |
commit | 6459b84bf754eda5323f40eb7af76dde65b63251 (patch) | |
tree | 81947a270848520d4cf2f9d1c5ce91ced54fcdff /extra/fontforge/giflib.patch | |
parent | 942111e62628e9a5c4729563215b1cfb8911735e (diff) |
Tue Jun 17 03:23:47 UTC 2014
Diffstat (limited to 'extra/fontforge/giflib.patch')
-rw-r--r-- | extra/fontforge/giflib.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/fontforge/giflib.patch b/extra/fontforge/giflib.patch new file mode 100644 index 000000000..6234484a6 --- /dev/null +++ b/extra/fontforge/giflib.patch @@ -0,0 +1,37 @@ +diff -Naur old/gutils/gimagereadgif.c new/gutils/gimagereadgif.c +--- old/gutils/gimagereadgif.c 2014-01-01 05:56:11.000000000 -1000 ++++ new/gutils/gimagereadgif.c 2014-05-27 07:04:34.930338020 -1000 +@@ -170,13 +170,13 @@ + + if ( DGifSlurp(gif)!=GIF_OK ) { + fprintf(stderr,"Bad input file \"%s\"\n",filename ); +- DGifCloseFile(gif); ++ DGifCloseFile(gif, NULL); + return( NULL ); + } + + /* Process each image so that it/they can be imported into FF. */ + if ( (images=(GImage **) malloc(gif->ImageCount*sizeof(GImage *)))==NULL ) { +- DGifCloseFile(gif); ++ DGifCloseFile(gif, NULL); + NoMoreMemMessage(); + return( NULL ); + } +@@ -185,7 +185,7 @@ + if ( (images[i]=ProcessSavedImage(gif,&gif->SavedImages[i],il))==NULL ) { + while ( --i>=0 ) free(images[i]); + free(images); +- DGifCloseFile(gif); ++ DGifCloseFile(gif, NULL); + return( NULL ); + } + } +@@ -195,7 +195,7 @@ + ret = images[0]; + else + ret = GImageCreateAnimation(images,gif->ImageCount); +- DGifCloseFile(gif); ++ DGifCloseFile(gif, NULL); + free(images); + return( ret ); + } |