http://bugs.winehq.org/show_bug.cgi?id=20395
Ákos Maróy akos@maroy.hu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |akos@maroy.hu
--- Comment #109 from Ákos Maróy akos@maroy.hu 2012-04-28 12:37:00 CDT --- I'm trying to apply this patch to wine, but to no avail. what wine version do these patches work with? I've tried the latest 1.3 and 1.5 versions (1.3.37 and 1.5.3), but the patches don't work. here is what I get, for example, with 1.3.37:
$ patch -p2 --dry-run < ../wine-raw-input.patch patching file dlls/user32/input.c Hunk #1 succeeded at 474 (offset -2 lines). Hunk #2 succeeded at 705 (offset -2 lines). Hunk #3 succeeded at 750 (offset -2 lines). Hunk #4 succeeded at 771 (offset -2 lines). Hunk #5 succeeded at 864 (offset -2 lines). Hunk #6 succeeded at 905 (offset -2 lines). patching file dlls/user32/tests/input.c Hunk #3 succeeded at 1623 (offset 5 lines). Hunk #4 succeeded at 2594 (offset 5 lines). patching file include/wine/server_protocol.h Hunk #1 succeeded at 4887 (offset 5 lines). Hunk #2 succeeded at 5221 (offset 5 lines). Hunk #3 succeeded at 5480 (offset 5 lines). Hunk #4 FAILED at 5732. 1 out of 4 hunks FAILED -- saving rejects to file include/wine/server_protocol.h.rej patching file server/Makefile.in patching file server/process.c patching file server/process.h patching file server/protocol.def Hunk #1 succeeded at 3374 (offset 5 lines). patching file server/queue.c Hunk #4 succeeded at 2220 (offset 10 lines). patching file server/raw_input.c patching file server/raw_input.h patching file server/request.h Hunk #3 succeeded at 2152 (offset 4 lines). patching file server/trace.c Hunk #1 succeeded at 3912 (offset 5 lines). Hunk #2 succeeded at 4216 (offset 5 lines). Hunk #3 succeeded at 4471 (offset 5 lines). Hunk #4 succeeded at 4726 (offset 5 lines).
$ patch -p1 --dry-run < ../wine-raw-input-mouse.patch patching file dlls/user32/input.c Hunk #2 FAILED at 56. Hunk #3 succeeded at 494 (offset -7 lines). Hunk #4 succeeded at 571 (offset -7 lines). Hunk #5 succeeded at 687 (offset -7 lines). 1 out of 5 hunks FAILED -- saving rejects to file dlls/user32/input.c.rej patching file dlls/user32/Makefile.in Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file dlls/user32/Makefile.in.rej patching file include/winuser.h Hunk #1 succeeded at 493 (offset 2 lines).
$ patch -p1 --dry-run < ../wine_rawinput_8_8_2011.patch patching file dlls/user32/input.c Hunk #1 succeeded at 474 (offset -2 lines). Hunk #2 succeeded at 705 (offset -2 lines). Hunk #3 succeeded at 750 (offset -2 lines). Hunk #4 succeeded at 771 (offset -2 lines). Hunk #5 succeeded at 864 (offset -2 lines). Hunk #6 succeeded at 905 (offset -2 lines). patching file dlls/user32/tests/input.c Hunk #3 succeeded at 1623 (offset 5 lines). Hunk #4 succeeded at 2594 (offset 5 lines). patching file include/wine/server_protocol.h Hunk #1 succeeded at 4887 (offset 9 lines). Hunk #2 succeeded at 5221 (offset 9 lines). Hunk #3 succeeded at 5480 (offset 9 lines). Hunk #4 FAILED at 5728. 1 out of 4 hunks FAILED -- saving rejects to file include/wine/server_protocol.h.rej patching file server/Makefile.in patching file server/process.c patching file server/process.h patching file server/protocol.def Hunk #1 succeeded at 3374 (offset 9 lines). patching file server/queue.c Hunk #3 succeeded at 1459 (offset -3 lines). Hunk #4 succeeded at 2220 (offset 15 lines). patching file server/raw_input.c patching file server/raw_input.h patching file server/request.h Hunk #3 succeeded at 2152 (offset 8 lines). patching file server/trace.c Hunk #1 succeeded at 3912 (offset 9 lines). Hunk #2 succeeded at 4216 (offset 9 lines). Hunk #3 succeeded at 4471 (offset 9 lines). Hunk #4 succeeded at 4726 (offset 9 lines).