In the (still masked) db versions, symbol versioning is not done anymore by mangling symbol names, but by using the linker. While this should make things easier, the nss-db ebuild assumes the mangled names. Please find attached a patch that fixes this.
Created attachment 82274 [details, diff] The patch to fix compilation with newer db versions.
feel free to commit the fix
Just committed.