Plans to carry out repairs on a 200-year-old weir have been approved to prevent to the historic structure from collapsing.