mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 17:06:32 -04:00
share/sane/xsane/doc instead of share/doc/xsane where they are installed. While here - Add LICENSE_FILE - Pet portlint: regenerate and rename patches - Switch GIMP option to options helpers - Fix pkg-message. The GIMP plugin now shows up in File->Create and not in File->Acquire. PR: 218989 Approved by: lme (mentor), koalative@gmail.com (maintainer timeout, 4 weeks) Differential Revision: https://reviews.freebsd.org/D10752
20 lines
631 B
C
20 lines
631 B
C
--- src/xsane-save.c.orig 2010-11-16 21:06:00 UTC
|
|
+++ src/xsane-save.c
|
|
@@ -4910,7 +4910,7 @@ int xsane_save_png(FILE *outfile, int co
|
|
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
|
|
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);
|