diff options
Diffstat (limited to 'graphics/dia/patches/patch-ab')
-rw-r--r-- | graphics/dia/patches/patch-ab | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/dia/patches/patch-ab b/graphics/dia/patches/patch-ab new file mode 100644 index 00000000000..9ba3884a935 --- /dev/null +++ b/graphics/dia/patches/patch-ab @@ -0,0 +1,13 @@ +$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")); |