RedWagon
2009-Jun-15 21:38 UTC
[Wine] applying a patch (select-dup.diff) to wine to fix TF2
I really feel like a n00b posting this, but I can't for the life of me find how to apply this patch. http://bugs.winehq.org/attachment.cgi?id=21763&action=edit One of the Steam updates broke TF2, and according to the comments in the bug tracker this should fix it. I just have idea what to do with the file. Also, my wine setup isn't like most peoples. I compile wine from source and run it from the source directory so I can use multiple versions at the same time. I don't need specific instructions for my setup, just generic wine instructions and whether or not I need to apply it to each source directory, or the directory with drive_c and stuff. verdow at RedWagon ~ $ ls -a | grep wine .wine-1.1.16 .wine-1.1.17 .wine-1.1.21 .wine_l4d .wine_nexuiz .wine_oldTF2 .wine_q3 .wine_ra3 .wine_tf2 .wine_urbanterror .wine_warsow verdow at RedWagon ~ $ [/code]
Austin English
2009-Jun-15 21:47 UTC
[Wine] applying a patch (select-dup.diff) to wine to fix TF2
On Mon, Jun 15, 2009 at 4:38 PM, RedWagon<wineforum-user at winehq.org> wrote:> I really feel like a n00b posting this, but I can't for the life of me find how to apply this patch. ?http://bugs.winehq.org/attachment.cgi?id=21763&action=edit > One of the Steam updates broke TF2, and according to the comments in the bug tracker this should fix it. ?I just have idea what to do with the file. ?Also, my wine setup isn't like most peoples. ?I compile wine from source and run it from the source directory so I can use multiple versions at the same time. ?I don't need specific instructions for my setup, just generic wine instructions and whether or not I need to apply it to each source directory, or the directory with drive_c and stuff. > > verdow at RedWagon ~ $ ls -a | grep wine > .wine-1.1.16 > .wine-1.1.17 > .wine-1.1.21 > .wine_l4d > .wine_nexuiz > .wine_oldTF2 > .wine_q3 > .wine_ra3 > .wine_tf2 > .wine_urbanterror > .wine_warsow > verdow at RedWagon ~ $ [/code]patch -p1 < /path/to/source though you could just upgrade to git where it's fixed... -- -Austin
RedWagon
2009-Jun-15 22:05 UTC
[Wine] Re: applying a patch (select-dup.diff) to wine to fix TF2
verdow at RedWagon ~ $ patch -p1 < select-dup.diff can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/server/thread.c b/server/thread.c |index e931e81..a42365c 100644 |--- a/server/thread.c |+++ b/server/thread.c -------------------------- File to patch: ^C verdow at RedWagon ~ $ What file do I need to patch? Also, wine is not installed on my computer. If I want to run wine I must run WNIEPREFIX=/home/verdow/.wine_program /home/verdow/.wine-1.1.16/./wine program.exe> though you could just upgrade to git where it's fixed...Certain programs run better on older versions of wine, also this is a new bug, the steam update that broke tf2 came out only a week ago.
RedWagon
2009-Jun-15 23:24 UTC
[Wine] Re: applying a patch (select-dup.diff) to wine to fix TF2
Code: verdow at RedWagon ~/.wine-1.1.16 $ patch -p1 < select-dup.diff patching file server/thread.c Hunk #1 succeeded at 637 (offset -15 lines). Hunk #2 succeeded at 647 (offset -15 lines). Hunk #3 succeeded at 693 (offset -15 lines). verdow at RedWagon ~/.wine-1.1.16 $ TF2 still doesn't work. Do I need to recompile after the patch is applied? I'm going to try downloading and compiling the latest release.> though you could just upgrade to git where it's fixed...what is git? Is there something besides the latest source release I should try?