The ebuild includes a sed-script to fix the build for libpng-1.4; there is one test in the config file that is not fixed, though; that test is still referencing libpng-1.2 and so fails. This leads to a gd library that still builds successfully but only partially supports .png; this causes downstream .ebuilds like graphviz to fail. This config check that is wrong is in the build log as: checking for png_create_read_struct in -lpng12... no Reproducible: Always Steps to Reproduce: Upgrade libpng to media-libs/libpng-1.4.2 emerge media-libs/gd with png USE flag Actual Results: The built /usr/lib/libgd.so.2.0.0 does not have all the PNG related functions it should; it is missing, for example, gdImageCreateFromPng Expected Results: Produced libgd should have all Png-related functions declared in /usr/include/gd.h
it's already fixed in -r2 *** This bug has been marked as a duplicate of bug 320837 ***