1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Fix for libpng1.6
Author: Tobias Frost <tobi@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648129
Last-Update: 2015-01-07
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/drivers/pndriv.c
+++ b/drivers/pndriv.c
@@ -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;
|