I'm an idiot (haven't slept in 30 hours though) sigh. Output is as follows: $ patch -p1 -R < attachment.cgi\?id\=33574 patching file configure Hunk #1 succeeded at 8035 (offset 5 lines). Hunk #2 succeeded at 8231 (offset 5 lines). patching file configure.ac Hunk #1 succeeded at 937 (offset 5 lines). Hunk #2 succeeded at 975 (offset 5 lines). patching file dlls/dinput/dinput_main.c patching file dlls/dinput/mouse.c patching file dlls/winex11.drv/event.c patching file dlls/winex11.drv/mouse.c Hunk #3 succeeded at 126 (offset -2 lines). Hunk #4 succeeded at 1013 (offset -7 lines). patching file dlls/winex11.drv/winex11.drv.spec Hunk #1 succeeded at 159 (offset 1 line). patching file dlls/winex11.drv/x11drv.h Hunk #1 succeeded at 728 (offset -2 lines). Hunk #2 succeeded at 856 (offset -2 lines). patching file dlls/winex11.drv/x11drv_main.c patching file include/config.h.in Hunk #2 succeeded at 1103 (offset 3 lines).