diff options
Diffstat (limited to 'graphics/imlib/files/patch-utils.c')
-rw-r--r-- | graphics/imlib/files/patch-utils.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/imlib/files/patch-utils.c b/graphics/imlib/files/patch-utils.c new file mode 100644 index 000000000000..0d59d7879b1f --- /dev/null +++ b/graphics/imlib/files/patch-utils.c @@ -0,0 +1,19 @@ +--- Imlib/utils.c.orig 2012-04-27 07:12:19.000000000 +0200 ++++ Imlib/utils.c 2012-04-27 07:15:39.000000000 +0200 +@@ -1899,6 +1899,7 @@ + }; + + #ifdef HAVE_LIBPNG ++#include "pngpriv.h" + static void + _png_io_read(png_structp png_ptr, + png_bytep data, png_uint_32 size) +@@ -1982,7 +1983,7 @@ + return NULL; + } + +- if (setjmp(png_ptr->jmpbuf)) ++ if (setjmp(png_jmpbuf(png_ptr))) + { + png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + return NULL; |