summaryrefslogtreecommitdiff
path: root/user/xsane/xsane-0.999-libpng16.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-08 16:49:25 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-08 16:49:25 -0600
commit0cee93cf1fb776e8e2d5b96ff01b5c69d57c7c75 (patch)
tree39594465ab85421ba503db512971dac463b7c3e8 /user/xsane/xsane-0.999-libpng16.patch
parent7442499990b44130ad9de911808161177b214322 (diff)
downloadpackages-0cee93cf1fb776e8e2d5b96ff01b5c69d57c7c75.tar.gz
packages-0cee93cf1fb776e8e2d5b96ff01b5c69d57c7c75.tar.bz2
packages-0cee93cf1fb776e8e2d5b96ff01b5c69d57c7c75.tar.xz
packages-0cee93cf1fb776e8e2d5b96ff01b5c69d57c7c75.zip
user/xsane: new package1.0-alpha5
Diffstat (limited to 'user/xsane/xsane-0.999-libpng16.patch')
-rw-r--r--user/xsane/xsane-0.999-libpng16.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/user/xsane/xsane-0.999-libpng16.patch b/user/xsane/xsane-0.999-libpng16.patch
new file mode 100644
index 000000000..2f947e73c
--- /dev/null
+++ b/user/xsane/xsane-0.999-libpng16.patch
@@ -0,0 +1,20 @@
+--- xsane-0.999/src/xsane-save.c.old 2010-11-16 21:06:00.000000000 +0000
++++ xsane-0.999/src/xsane-save.c 2018-03-08 22:45:17.763964565 +0000
+@@ -4910,7 +4910,7 @@
+ return -1; /* error */
+ }
+
+- if (setjmp(png_ptr->jmpbuf))
++ if (setjmp(png_jmpbuf(png_ptr)))
+ {
+ snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG);
+ xsane_back_gtk_error(buf, TRUE);
+@@ -5100,7 +5100,7 @@
+ return -1; /* error */
+ }
+
+- if (setjmp(png_ptr->jmpbuf))
++ if (setjmp(png_jmpbuf(png_ptr)))
+ {
+ snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG);
+ xsane_back_gtk_error(buf, TRUE);