It uses a fallback mechanism where it explains in English how to manually make the patch in case auto-patching is infeasible.
Reply on news.ycombinator.com