$OpenBSD: patch-xwin_c,v 1.1 2011/07/08 20:38:01 naddy Exp $ Fix build with png-1.5. --- xwin.c.orig Wed Jul 6 15:44:07 2011 +++ xwin.c Wed Jul 6 15:44:25 2011 @@ -277,7 +277,7 @@ int write_png(int which,const char *filename) fclose(f); return 1; } - if (setjmp(pp->jmpbuf)) { + if (setjmp(png_jmpbuf(pp))) { png_destroy_write_struct(&pp,&ip); fclose(f); gdk_image_destroy(image);