The xsim-0.3.9.4-r1.ebuild does not build against db4. The unrevised version does however build perfectly. Removing all db related parts from the revised ebuild will get xsim to compile perfectly again. As we are targetting to put db4 into stability, I think you might want to reconsider the patches. Also your patch to the source does not detect 4.0.
that was introduced before the db3/4 versioning changes you made. let me test it out without it and see if it works with db4 ..
ok, i've removed the db3 restriction and commited a -r2. thanks for looking out for db4 :)