Likely libpng-1.4.1 related, will try with libpng 1.2 later on. >>> Compiling source in /var/tmp/portage/media-gfx/pngcrush-1.7.6/work/pngcrush-1.7.6-nolib ... make -j9 x86_64-pc-linux-gnu-gcc -march=core2 -msse4.1 -O2 -pipe -I. -Wall -DPNG_USE_PNGGCCRD -DPNG_iCCP_SUPPORTED -DPNG_iTXt_SUPPORTED -DPNG_USE_GLOBAL_ARRAYS -DGAS_VERSION="\"2.20.1.20100303\"" -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu pngcrush.c -lpng -lz -o pngcrush pngcrush.c:1243: error: expected declaration specifiers or ‘...’ before ‘*’ token pngcrush.c:1243: error: expected ‘)’ before ‘<<’ token pngcrush.c:1243: error: expected ‘)’ before ‘+’ token pngcrush.c: In function ‘main’: pngcrush.c:3437: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result make: *** [pngcrush] Error 1 That said, there's a new version from upstream available too (also doesn't compile)
Created attachment 222849 [details] pngcrush-1.7.9.ebuild It's pretty much a rename of old ebuild, just attaching here so that it doesn't get lost...
reported to upstream bugtracking system at sf.net https://sourceforge.net/tracker/?func=detail&aid=2952206&group_id=1689&atid=101689
thanks to quick response from upstream. +*pngcrush-1.7.10 (13 Mar 2010) + + 13 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> + +pngcrush-1.7.10.ebuild: + Version bump wrt #308681. This version will compile against libpng-1.4.