$NetBSD: patch-ab,v 1.7 2011/01/16 17:03:06 tnn Exp $

--- plug-ins/libart/export_png.c.orig	2009-11-28 12:49:21.000000000 +0000
+++ plug-ins/libart/export_png.c
@@ -178,7 +178,7 @@ export_png_ok(GtkButton *button, gpointe
   }
 
   /* set error handling ... */
-  if (setjmp(png->jmpbuf)) {
+  if (setjmp(png_jmpbuf(png))) {
     fclose(fp);
     png_destroy_write_struct(&png, &info);
     message_error(_("Error occurred while writing PNG"));
