$OpenBSD: patch-png_c,v 1.1 2011/07/08 20:38:01 naddy Exp $

Fix build with png-1.5.

--- png.c.orig	Wed Jul  6 17:24:44 2011
+++ png.c	Wed Jul  6 17:25:02 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);
