Changes since the last public release (1.2.7): Fixed bug in png_text_compress() that would fail to complete a large block. Fixed bug, introduced in libpng-1.2.7, that overruns a buffer during strip alpha operation in png_do_strip_filler(). Added PNG_1_2_X definition in pngconf.h #ifdef out png_info_init in png.c and png_read_init in pngread.c (as of 1.3.0) Reduce color_type to a nonalpha type after strip alpha operation in png_do_strip_filler(). Revised definitions of PNG_MAX_UINT_32, PNG_MAX_SIZE, and PNG_MAXSUM Fixed (again) definition of PNG_LIBPNG_VER_DLLNUM in png.h (Cosmin). Added PNG_LIBPNG_BUILD_PRIVATE in png.h (Cosmin). Set png_ptr->zstream.data_type to Z_BINARY, to avoid unnecessary detection of data type in deflate (Cosmin). Deprecated but continue to support SPECIALBUILD and PRIVATEBUILD in favor of PNG_LIBPNG_BUILD_SPECIAL_STRING and PNG_LIBPNG_BUILD_PRIVATE_STRING. Despammed mailing addresses by masking "@" with "at". Added scripts/makefile.elf with supporting code in pngconf.h for symbol versioning (John Bowler). Added projects/visualc71 (Simon-pierre). Reproducible: Always Steps to Reproduce: 1. 2. 3.
here's the ebuild and an updated gentoo.diff. the macos patch still applies cleanly to the source so i left it as is. i've removed the libpng-1.2.7-png_do_strip_filler.diff patch that appeared in 1.2.7-r1 since it was backported from 1.2.8. everything else should be pretty much the same. tested and successful (including maketest) on x86. hth, and let me know if anything is wrong. i'm still brand new to this. ;)
Created attachment 46022 [details] libpng-1.2.8.ebuild
Created attachment 46023 [details, diff] 1.2.8-gentoo.diff
This is quite an important package, shouldn't it belong to some herd? graphics is an obvious candidate...
1.2.8 now in portage