$OpenBSD: patch-src_libimage_png_c,v 1.1 2011/07/08 20:38:01 naddy Exp $ Fix build with png-1.5. --- src/libimage/png.c.orig Wed Jul 6 10:53:27 2011 +++ src/libimage/png.c Wed Jul 6 10:53:47 2011 @@ -57,7 +57,7 @@ read_png(const char *filename, int *width, int *height return(0); } - if (setjmp(png_ptr->jmpbuf)) + if (setjmp(png_jmpbuf(png_ptr))) { png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp) NULL); fclose(infile);