Probably not very long. Hogwarts is a citadel of ancient magic and it changes its floor plans each year on its own accord. Stands to reason it would be able to repair itself.
And with dozens of witches and wizards using Reparo all at once, it probably didn’t take much longer than a month or two. Plus, some students returned to Hogwarts the following August.