diff options
Diffstat (limited to 'graphics/simage/files/patch-simage_png.c')
-rw-r--r-- | graphics/simage/files/patch-simage_png.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/simage/files/patch-simage_png.c b/graphics/simage/files/patch-simage_png.c new file mode 100644 index 000000000000..b0dc15caad22 --- /dev/null +++ b/graphics/simage/files/patch-simage_png.c @@ -0,0 +1,11 @@ +--- src/simage_png.c.orig 2010-02-26 16:47:31.000000000 +0100 ++++ src/simage_png.c 2012-05-05 07:44:14.000000000 +0200 +@@ -323,7 +323,7 @@ + /* Set error handling. REQUIRED if you aren't supplying your own + * error hadnling functions in the png_create_write_struct() call. + */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + /* If we get here, we had a problem reading the file */ + fclose(fp); + png_destroy_write_struct(&png_ptr, (png_infopp)info_ptr); |