http://bugs.winehq.org/show_bug.cgi?id=26494
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2011-03-20 19:04:14 CDT --- (In reply to comment #3)
I'm sure it is simple for someone who knows what they're doing, but that's not necessarily me.
Sure, I'll explain.
I'm not even quite sure what you mean by "automatically."
I mean cleanly.
I did try building Wine despite the message about failed thunks. That produced an actual crash. Unlike before, the splash screen appeared, but it got no further. I can upload the backtrace if that's what you're looking for. Otherwise, I'm going to need clearer instructions on how to revert part of a patch.
As I understand 'git revert' fails because of test changes. You need to revert only pi.c changes, for this case it's ok to revert all pi.c changes starting mentioned commit. To do that you can do:
'git diff 710b643b2ffe56f1ab754d030cbc651220919bfa^ dlls/msxml3/pi.c | patch -p1 -R'
This will leave uncommitted changes in your tree unlike 'git revert', to easily clean up after you're done with reproducing crash do:
'git diff | patch -p1 -R'
this will revert reverted changes and make 'git diff' output empty.