Refer to this for all the current rules straight from the Brazilian consulate. As I read it, only need Yellow Fever if coming from the countries listed in Q&A #17? This question often arises, and I don't want to get that shot since I am leaving the ship in Rio. A still valid visa in an expired passport is okay.

http://www.brazilsf.org/visa_faq_eng.htm