From: Rabbi Mordechai Leib Winkler
To: Rabbi Avraham Yehuda Spreyer
The question concerns the repair of a courtyard with a breach larger than ten amot, where a doorway-like structure is made, and then a house, and from the house to the opposite fence there is a breach smaller than ten amot.
Source: Orach Chayim I §66