After opening with six losses in a row at Pac Bell Park, Barry Bonds' home run gave San Francisco its first win there.