aboutsummaryrefslogtreecommitdiff
path: root/graphics/dia/files/patch-export_png.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/dia/files/patch-export_png.c')
-rw-r--r--graphics/dia/files/patch-export_png.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/dia/files/patch-export_png.c b/graphics/dia/files/patch-export_png.c
new file mode 100644
index 000000000000..c8553994dc9c
--- /dev/null
+++ b/graphics/dia/files/patch-export_png.c
@@ -0,0 +1,11 @@
+--- plug-ins/libart/export_png.c.orig 2009-11-28 13:49:21.000000000 +0100
++++ plug-ins/libart/export_png.c 2012-05-08 07:23:21.000000000 +0200
+@@ -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"));