armagetronad-0.2.7.1-r1 does not emerge for two reasons:
1. The make rule for src/doc/commands.txt is broken:
It executes "$W/armagetronad --doc" which is bad because
a) This file normally has no execute permissions.
b) Even if one changes permissions, it executes the installed armagetronad which
fails if no version of armagetronad was installed or a version which does not
know about the --doc parameter.
The simple fix for 1. is to make execute "$W/src/tron/armagetronad --doc" instead.
2. There is a problem with the glibc-2.10.1 implementation of strchr which
returns now a "const char *" if it gets a "const char *". The problem can
be solved by a const_cast<char *>(...) although this is not a clean solution
(one should not modify const char entries of strings directly); however, a
clean solution should be done upstream. The const_cast should work currently
with all gcc implementations of the STL library. I attach a corresponding patch.
Created attachment 193742 [details, diff]
Fix makefile.in to not access installed armagetronad version
Created attachment 193743 [details, diff]
Fix compilation with glibc-2.10.1 by casting (not a clean solution but should work)
in portage. thanks for the bug report and patch