Contents of /trunk/slim/patches/slim-1.3.4-libpng15.patch
Parent Directory | Revision Log
Revision 1888 -
(show annotations)
(download)
Thu Aug 30 13:08:00 2012 UTC (12 years ago) by niro
File size: 373 byte(s)
Thu Aug 30 13:08:00 2012 UTC (12 years ago) by niro
File size: 373 byte(s)
-libpng15 patch for slim-1.3.4
1 | --- a/image.cpp 2012-06-26 04:20:14.000000000 -0400 |
2 | +++ b/image.cpp 2012-06-27 11:41:34.000000000 -0400 |
3 | @@ -781,7 +781,11 @@ |
4 | (png_infopp) NULL); |
5 | } |
6 | |
7 | +#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4 |
8 | + if (setjmp(png_jmpbuf((png_ptr)))) { |
9 | +#else |
10 | if (setjmp(png_ptr->jmpbuf)) { |
11 | +#endif |
12 | goto png_destroy; |
13 | } |