summaryrefslogtreecommitdiff
path: root/graphics/chbg/files/patch-absimg.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--graphics/chbg/files/patch-absimg.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/chbg/files/patch-absimg.c b/graphics/chbg/files/patch-absimg.c
new file mode 100644
index 000000000000..62662be69d8c
--- /dev/null
+++ b/graphics/chbg/files/patch-absimg.c
@@ -0,0 +1,11 @@
+--- src/absimg.c.orig 2001-01-08 19:42:18.000000000 +0100
++++ src/absimg.c 2012-05-09 12:34:28.000000000 +0200
+@@ -96,7 +96,7 @@
+
+ pngi = png_create_info_struct(pngw);
+
+- if (setjmp(pngw->jmpbuf))
++ if (setjmp(png_jmpbuf(pngw)))
+ {
+ png_destroy_write_struct(&pngw, &pngi);
+ fclose(f);