ALT Linux repositórios
Group :: Gráficos
RPM: xsane
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: xsane-0.998-alt-libpng15.patch
Download
Download
diff --git a/xsane/src/xsane-save.c b/xsane/src/xsane-save.c
index 84f5d59..f53f5e6 100644
--- a/xsane/src/xsane-save.c
+++ b/xsane/src/xsane-save.c
@@ -4910,7 +4910,7 @@ int xsane_save_png(FILE *outfile, int compression, FILE *imagefile, Image_info *
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 @@ int xsane_save_png_16(FILE *outfile, int compression, FILE *imagefile, Image_inf
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);