summaryrefslogtreecommitdiff
path: root/japanese/ming/files/patch-util_png2dbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/ming/files/patch-util_png2dbl.c')
-rw-r--r--japanese/ming/files/patch-util_png2dbl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/ming/files/patch-util_png2dbl.c b/japanese/ming/files/patch-util_png2dbl.c
new file mode 100644
index 000000000000..8782dda505ba
--- /dev/null
+++ b/japanese/ming/files/patch-util_png2dbl.c
@@ -0,0 +1,11 @@
+--- ../util/png2dbl.c.orig 2002-06-24 14:21:54.000000000 +0200
++++ ../util/png2dbl.c 2012-05-06 06:30:46.000000000 +0200
+@@ -80,7 +80,7 @@
+ error("Couldn't create end_info\n");
+ }
+
+- if(setjmp(png_ptr->jmpbuf)) {
++ if(setjmp(png_jmpbuf(png_ptr))) {
+ png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
+ fclose(fp);
+ error("Mystery error (longjmp called)\n");