diff options
-rw-r--r-- | media-libs/libafterimage/files/libafterimage-giflib5.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/libafterimage/files/libafterimage-giflib5.patch b/media-libs/libafterimage/files/libafterimage-giflib5.patch index 32037d97546d..b650b248dd0f 100644 --- a/media-libs/libafterimage/files/libafterimage-giflib5.patch +++ b/media-libs/libafterimage/files/libafterimage-giflib5.patch @@ -117,7 +117,7 @@ diff -Naurd libAfterImage-1.20.orig/export.c libAfterImage-1.20/export.c } +#if (GIFLIB_MAJOR>=5) -+ if( (errcode = EGifPutImageDesc(gif, 0, 0, im->width, im->height, FALSE, (dont_save_cmap)?NULL:gif_cmap )) == GIF_ERROR ) ++ if( (errcode = EGifPutImageDesc(gif, 0, 0, im->width, im->height, false, (dont_save_cmap)?NULL:gif_cmap )) == GIF_ERROR ) + ASIM_PrintGifError(errcode); +#else if( EGifPutImageDesc(gif, 0, 0, im->width, im->height, FALSE, (dont_save_cmap)?NULL:gif_cmap ) == GIF_ERROR ) @@ -155,7 +155,7 @@ diff -Naurd libAfterImage-1.20.orig/export.c libAfterImage-1.20/export.c EGifPutExtension(gif, 0xf9, GIF_GCE_BYTES, &(gce_bytes[0])); +#if (GIFLIB_MAJOR>=5) -+ if( (errcode = EGifPutImageDesc(gif, 0, 0, im->width, im->height, FALSE, NULL )) == GIF_ERROR ) ++ if( (errcode = EGifPutImageDesc(gif, 0, 0, im->width, im->height, false, NULL )) == GIF_ERROR ) + ASIM_PrintGifError(errcode); +#else if( EGifPutImageDesc(gif, 0, 0, im->width, im->height, FALSE, NULL ) == GIF_ERROR ) |