Problem: libpng-1.2.4.tar.bz2 in no longer available at swrinde.nde.swri.edu In its place there is a new version, libpng-1.2.5.tar.bz2. Right now anything that depends on png (and the png use flag is in make.defaults) will fail to compile if the user needs to download the png library. The compiling works fine, but that is not much good if the user can't get the source. Suggested fix: create a libpng-1.2.5 ebuild
No changes are needed to the ebuild file. Simply copy to libpng-1.2.5.ebuild and use the following for "digest-libpng-1.2.5": MD5 0cec860559f2f5f7145da3c6851bacb7 libpng-1.2.5.tar.gz 505988
root@vapier root # wget ftp://ftp.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/libpng-1.2.4.tar.gz --11:10:40-- ftp://ftp.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/libpng-1.2.4.tar.gz => `libpng-1.2.4.tar.gz' Resolving ftp.ibiblio.org... done. Connecting to ftp.ibiblio.org[152.2.210.81]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/Linux/distributions/gentoo/distfiles ... done. ==> PORT ... done. ==> RETR libpng-1.2.4.tar.gz ... done. Length: 520,206 (unauthoritative) 100%[==================================================>] 520,206 449.57K/s ETA 00:00 11:10:42 (449.57 KB/s) - `libpng-1.2.4.tar.gz' saved [520206]
added to cvs
the fix would be to add 1.2.4 to the mirrors for now. 1.2.5 is masked into testing as it breaks things like gnome.
its not that it breaks them, its that they need to link against more things ... you compile with '-lpng -lz -lstdc++' not just '-lpng' ... and my bad :/
Funny, I built my gnome2 linked against 1.2.5 when 1.2.4 wasn't on the mirror and I have not had any problems with it (but that is VERY far from exhaustive testing, just my experiance).
Adding this sed line will stop the -I/usr/include warnings... -e "s:-I\$(ZLIBINC)::" \ AND See bug #6760 for proof of... ------ Additional Comment #5 From SpanKY 2002-10-28 20:30 ------- its not that it breaks them, its that they need to link against more things ... you compile with '-lpng -lz -lstdc++' not just '-lpng' ... I only added -lz... -lstdc++ isn't needed...
actually the reason that worked was because you had -lm ... -lm or -lstdc++ ... both provide the 'pow' function ...