$OpenBSD: patch-image_cpp,v 1.1 2012/09/02 09:22:59 landry Exp $
--- image.cpp.orig	Sat Sep  1 19:52:57 2012
+++ image.cpp	Sat Sep  1 19:53:20 2012
@@ -781,7 +781,7 @@ Image::readPng(const char *filename, int *width, int *
                                 (png_infopp) NULL);
     }
 
-    if (setjmp(png_ptr->jmpbuf)) {
+    if (setjmp(png_jmpbuf(png_ptr))) {
         goto png_destroy;
     }
 
