attempting to emerge pwlib give copious errors. They look to be a patch that went wrong? Lots of syntax errors, and an interesting precompiler error: In file included from /usr/include/ptlib/thread.h:614, from /usr/include/ptlib/thread.h:614, from /usr/include/ptlib/thread.h:614, from /usr/include/ptlib.h:184, from ../../ptclib/asner.cxx:287: /usr/include/ptlib/thread.h:175: macro or `#include' recursion too deep and many many others like this. Further down, the compiler starts to barf about stuff like this: /usr/include/ptlib/object.h:585: parse error before `(' /usr/include/ptlib/object.h:1202: `BOOL' declared as a `virtual' field /usr/include/ptlib/object.h:1202: parse error before `(' /usr/include/ptlib/object.h:1215: `BOOL' declared as a `virtual' field /usr/include/ptlib/object.h:1215: declaration of `int PObject::BOOL' /usr/include/ptlib/object.h:1202: conflicts with previous declaration `int PObject::BOOL' the full compile log is available here: http://www.infinitylimited.net/~jake/pwlib_compile_barf
after filing this bug, I found this: http://bugs.gentoo.org/show_bug.cgi?id=24461#c3 and it has solved my problem.