There are a few changes in glibc-2.10 that might make your software fail to build with it, please refer to my blog post [1] if you're not sure what the problem is. And no I don't usually provide emerge --info with these bugs because they are caused by glibc-2.10! Thanks, Diego [1] http://blog.flameeyes.eu/2009/05/24/c-libraries-galore
Created attachment 194371 [details] Build log
Created attachment 200271 [details, diff] adds two consts and a const_cast to enable compilation with gcc44+glibc210 Patch isn't of kingly quality, but got the trivialities fixed so that kftpgrabber compiles. Upstream appears to have gone unmaintained for years, so since this needs kde 3.5, removal from the tree might be a possibility as well.
Removal might come into question in future, but for now I've applied your patch. Thanks.