summaryrefslogtreecommitdiff
path: root/graphics/crw/files/patch-crw.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/crw/files/patch-crw.c')
-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;
+ }