File ImageMagick-missing-png_get_eXIf_1.patch of Package ImageMagick.30356
diff --git a/coders/png.c b/coders/png.c index 8b84a83ef0..fe14a93bfa 100644 --- a/coders/png.c +++ b/coders/png.c @@ -1952,8 +1952,10 @@ static void read_eXIf_chunk(Image *image,png_struct *ping,png_info *info, png_bytep data; +#if PNG_LIBPNG_VER > 10631 if (png_get_eXIf_1(ping,info,&size,&data)) (void) PNGSetExifProfile(image,size,data,exception); +#endif } #endif