summaryrefslogtreecommitdiff
path: root/pgplot/pndriv.c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pgplot/pndriv.c.patch')
-rw-r--r--pgplot/pndriv.c.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pgplot/pndriv.c.patch b/pgplot/pndriv.c.patch
new file mode 100644
index 00000000..4d8a22d3
--- /dev/null
+++ b/pgplot/pndriv.c.patch
@@ -0,0 +1,11 @@
+-- drivers/pndriv.c 2012-02-05 18:35:41.172818257 +0100
++++ drivers/pndriv.c 2012-02-05 18:36:34.389199228 +0100
+@@ -222,7 +222,7 @@
+ return;
+ }
+
+- if (setjmp(png_ptr->jmpbuf)) { /* not really sure what I'm doing here... */
++ if (setjmp(png_jmpbuf(png_ptr))) {/* not really sure what I'm doing here... */
+ fprintf(stderr,"%s: error in libpng while writing file %s, plotting disabled\n", png_ident, filename);
+ png_destroy_write_struct(&png_ptr,&info_ptr);
+ dev->error = true;