You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/zgv/files/zgv-5.9-libpng15.patch

23 lines
472 B

http://bugs.gentoo.org/389591
--- a/src/readpng.c
+++ b/src/readpng.c
@@ -63,7 +63,7 @@
use_errmsg=1;
/* cleanup is done after jump back, so just do that now... */
-longjmp(png_ptr->jmpbuf,1);
+longjmp(png_jmpbuf(png_ptr), 1);
}
@@ -132,7 +132,7 @@
return(_PICERR_NOMEM);
}
-if(setjmp(png_ptr->jmpbuf))
+if(setjmp(png_jmpbuf(png_ptr)))
{
/* if we get here, there was an error. */
/* don't use local variables here, they may have been blasted */