summaryrefslogtreecommitdiff
path: root/graphics/crw/files/patch-crw.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/crw/files/patch-crw.c
parent- Allow for larger database UIDs (diff)
- update png to 1.5.10
Diffstat (limited to '')
-rw-r--r--graphics/crw/files/patch-crw.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/crw/files/patch-crw.c b/graphics/crw/files/patch-crw.c
new file mode 100644
index 000000000000..c9c3a8a5aabc
--- /dev/null
+++ b/graphics/crw/files/patch-crw.c
@@ -0,0 +1,11 @@
+--- crw.c.orig 2002-07-23 01:17:37.000000000 +0200
++++ crw.c 2012-04-27 07:23:34.000000000 +0200
+@@ -1394,7 +1394,7 @@
+ png_destroy_write_struct(&png_ptr, (png_infopp)NULL);
+ return;
+ }
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ png_destroy_write_struct(&png_ptr, &info_ptr);
+ return;
+ }