--- dia-0.97.1/plug-ins/libart/export_png.c.orig	2011-07-03 13:03:11.615872380 +1000
+++ dia-0.97.1/plug-ins/libart/export_png.c	2011-07-03 13:05:01.314281172 +1000
@@ -178,7 +178,7 @@
   }
 
   /* 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"));
