rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / image / xsane / patches / 08-libpng-1.5.patch
blobd89ba31c4b3113264d300a2f8ff58c0ec1045f7a
1 --- xsane-0.998/src/xsane-save.c.org 2012-02-10 12:31:29.768614682 +0100
2 +++ xsane-0.998/src/xsane-save.c 2012-02-10 12:31:31.511986798 +0100
3 @@ -4936,7 +4936,7 @@
4 return -1; /* error */
7 - if (setjmp(png_ptr->jmpbuf))
8 + if (setjmp(png_jmpbuf(png_ptr)))
10 snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG);
11 xsane_back_gtk_error(buf, TRUE);
12 @@ -5126,7 +5126,7 @@
13 return -1; /* error */
16 - if (setjmp(png_ptr->jmpbuf))
17 + if (setjmp(png_jmpbuf(png_ptr)))
19 snprintf(buf, sizeof(buf), "%s %s", ERR_DURING_SAVE, ERR_LIBPNG);
20 xsane_back_gtk_error(buf, TRUE);