Summary says all...
Created attachment 107037 [details] libtommath-0.40.ebuild
Created attachment 107038 [details, diff] libtommath/files/libtommath-0.40-LDFLAGS.patch
Version released has been bumped to 0.41. Ref.: http://libtom.org/files/ltm-0.41.tar.bz2
Created attachment 135343 [details, diff] modified patch It seems to work. I've modified the patch to change a silly thing - headers were installed with executable permissions.
Created attachment 135349 [details, diff] fixed patch Well, one more thing fixed: It was being linked with libstdc++. Needed --tag=CC for linking.
Thanks for the ebuilds and patches. in cvs now.