attached are a new ebuild for dev-libs/commonc++ which applies a patch from debian; with this patch, it builds on PPC, and likely sparc. the patch is available here: ftp://ftp.debian.org/debian/pool/main/c/commonc++/commonc++_1.9.7-1.diff.gz
Created attachment 3002 [details] new ebuild; applies new patch
Created attachment 3003 [details] gzipped patch for commonc++
I submitted this ages ago(8 months ago). Ill work on it tonight.
cleaned up the ebuild, patched it on ppc