summaryrefslogtreecommitdiff
path: root/graphics/chbg/files/patch-absimg.c
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /graphics/chbg/files/patch-absimg.c
parent- Allow for larger database UIDs (diff)
- update png to 1.5.10
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);