To make a broken thing work again. Also to hold a thing in place — the same word for repairing and for fastening.
Latin fixus, past participle of figere (to fasten, fix in place); the same word serves for repairing and for holding firmly.
Making a broken thing work again, and holding a thing firmly in place: repair and fastening sharing one word.