summaryrefslogtreecommitdiff
path: root/graphics/inkscape/files/patch-src_helper_png-write.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/inkscape/files/patch-src_helper_png-write.cpp')
-rw-r--r--graphics/inkscape/files/patch-src_helper_png-write.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/inkscape/files/patch-src_helper_png-write.cpp b/graphics/inkscape/files/patch-src_helper_png-write.cpp
new file mode 100644
index 000000000000..078b4252c930
--- /dev/null
+++ b/graphics/inkscape/files/patch-src_helper_png-write.cpp
@@ -0,0 +1,11 @@
+--- src/helper/png-write.cpp.orig 2012-05-04 10:06:13.000000000 +0200
++++ src/helper/png-write.cpp 2012-05-04 12:02:19.000000000 +0200
+@@ -165,7 +165,7 @@
+ /* Set error handling. REQUIRED if you aren't supplying your own
+ * error hadnling functions in the png_create_write_struct() call.
+ */
+- if (setjmp(png_ptr->jmpbuf)) {
++ if (setjmp(png_jmpbuf(png_ptr))) {
+ /* If we get here, we had a problem reading the file */
+ fclose(fp);
+ png_destroy_write_struct(&png_ptr, &info_ptr);