Thanks for the "tutorial" Saulius. (I'm new to git) It's all compiled now.
Just to summarize: (with your enhancements)
# (after completing: http://wiki.winehq.org/GitWine ) # rename/extract patch: $ cd wine-git $ mv origin_sd1.diff-0001.obj origin_sd1.diff.bz2 $ bunzip2 --keep origin_sd1.diff.bz2 # patch wine: $ git branch ntoskrnl 1d40bf0141b7f67b1188555962698f5dab631bc3 $ git branch $ git checkout ntoskrnl $ git branch $ cat origin_sd1.diff | patch -p1 | awk '{print $3}' | xargs git-update-index --add $ tools/make_requests $ git commit -a -m "ntoskrnl: Experimental implementation." # recompile Wine: $ ./configure && make depend && make && tools/wineprefixcreate --use-wine-tree . # below goes your experiments $ ... # and here we go back to the normal tree $ git checkout master # recompile Wine $ ./configure && make depend && make && tools/wineprefixcreate --use-wine-tree . # and do our stuff $ ...
I noticed that the typical "make install" is missing. I ran ./wine-git/programs/winecfg/winecfg and it seems to work ok. Found some more info about this in an old Wine newsletter: http://www.winehq.com/?issue=269#Speeding%20Up%20Builds