After cutting and chiselling out the rotten patches, I cut some plywood to fit and then coated everything with waterproofing as best I could and slapped it all together with plenty of goop in the seams.