So apparently the term "patch" in software development comes from punch cards.
"Small corrections to the programmed sequence could be done by patching over portions of the paper tape and re-punching the holes in that section."
(via @stefan@stefanbohacek.online)