net-misc/putty-0.57 fails to compile because a warning occurs (GCC 3.4.3) and unix/Makefile.gtk enables Werror: cc -march=athlon-xp -O1 -fomit-frame-pointer -pipe -Wall -Werror -g -I.././ -I../charset/ -I../unix/ -I../mac/ `gtk-config --cflags` -c .././tree234.c .././tree234.c: In function `add234_internal': .././tree234.c:121: warning: 'n' might be used uninitialized in this function make: *** [tree234.o] Error 1 make: *** Waiting for unfinished jobs.... I suppose that this type of warning doesn't occur with gcc < 3.4 and given the fact that both putty-0.57 and gcc-3.4.4 are marked stable on some archs (amd64 and ppc namely), the build will fail even if you're using a compiler marked 'stable'. As a workaround, I propose to remove -Werror from the Makefile. Head of emerge info, will post the full one if need be (I can't stand these bloated comments): Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.13-rc5-mm1 i686)
Created attachment 66490 [details, diff] Removes -Werror from unix/Makefile.gtk, works for me.
Thanks Christoph, I've applied your changes to the ebuild.