add patch for fix build databases/db4 on x86_64
remove old patch for databases/db4
add patch for chat/psi