Created attachment 281789 [details] xsane-0.996 build log (0.997 fails the same way) xsane fails to build against libpng-1.5, as it tries to access the jmpbuf member of the png_info struct. The fix is easily patched with a simple sed one-liner in src_compile: ebegin "Patching ${S}/src/xsane-save.c for libpng-1.5" sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' \ "${S}/src/xsane-save.c" eend $? I'll attach an updated ebuild shortly. I can confirm this fix works, at least for 0.997. Should work for 0.996 too.
Created attachment 281795 [details] Updated ebuild for xsane-0.997
added to 0.998