As stated in the summary, qudos fails to build with libpng-1.5. I've attached a patch and updated ebuild that seems to fix the problem. Solution copied entirely from naev-0.5.0-libpng15.patch. Reproducible: Always
Created attachment 290395 [details] games-fps/qudos-0.40.1-r1.ebuild
Created attachment 290397 [details, diff] qudos-0.40.1-libpng15.patch
Thanks. This patch solve the problem in my case too.
+ 21 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> qudos-0.40.1.ebuild, + +files/qudos-0.40.1-libpng15.patch: + Fix building with libpng15 (missing zlib.h include) wrt #387945 by "Jared"