1776-1777 war fought over the border between Spanish and Portuguese South America