--- epi/image_png.cc.orig 2010-06-08 15:36:37.000000000 +0200 +++ epi/image_png.cc 2012-04-27 13:02:14.000000000 +0200 @@ -22,6 +22,7 @@ #undef _SETJMP_H // workaround for some weirdness in pngconf.h #include +#include namespace epi { @@ -96,7 +97,7 @@ /* set error handling since we are using the setjmp/longjmp method * (this is the normal method of doing things with libpng). */ - if (setjmp(png_ptr->jmpbuf)) + if (setjmp(png_jmpbuf(png_ptr))) { fprintf(stderr, "PNG_Load - Error loading PNG image !\n"); goto failed; @@ -238,7 +239,7 @@ /* set error handling since we are using the setjmp/longjmp method * (this is the normal method of doing things with libpng). */ - if (setjmp(png_ptr->jmpbuf)) + if (setjmp(png_jmpbuf(png_ptr))) { fprintf(stderr, "PNG: Error loading PNG image !\n"); goto failed; @@ -315,7 +318,7 @@ /* set error handling since we are using the setjmp/longjmp method * (this is the normal method of doing things with libpng). */ - if (setjmp(png_ptr->jmpbuf)) + if (setjmp(png_jmpbuf(png_ptr))) { fprintf(stderr, "PNG: Error saving PNG image !\n"); goto failed; /cgit.cgi/freebsd-ports-gnome/'>freebsd-ports-gnome
FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Support STAGEDIR.vanilla2013-10-292-15/+13
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* - Convert to new perl frameworkmat2013-08-03