How do you install patches for wine?
uhhh....yeah, so I'm kinda new to this, I want to run a program under wine, but for it to work it needs a patch. They are all pages with a .diff code on them , but how do you patch with .diff files, moreso, with ones that aren't even downloadable but a bunch of code on a page? I looked over the winehq site on info how to install a patch, I had no luck.
I'm sorry if this is a stupid question, but I'm new to this. I always thought .diff files were just files that show you a "difference", I didn't know you can use them as a patch.... how does that all work? I really wanna use this program. Thanks |
firstly, you should download it
say it is "patch.diff" then 'cd /where/wine/is' and 'cat /that/patch/patch.diff | patch -p1' and you'll be happy |
what does 'p1' do?
What about those .diff scripts on a page? Like, where you don't "download" it to the H/D, but where it just opens up some page with the script on it. Should I just copy paste it into texteditor and change the ending? thx |
it'd better that you download the file either with some application (like wget or curl) or using "save as..." in your browser
|
Quote:
Wait, I'll show you what I want to get: The bug report and comments: http://bugs.winehq.org/show_bug.cgi?id=6078 The patch one of the commenters directs to: http://www.winehq.org/pipermail/wine...st/030201.html please help. I must be doing something wrong or clicking the wrong links... :( |
oh, if you are about the comment 13th, than yes, I can simply copy it to any text editor and save it somewhere on your machine.
but the only modification that patch does is the commenting of the single line you can do it without any patches - edit dlls/shell32/shell32_main.c , after the 865-th line you should find "SetWindowPos..." - just comment it out Hope I understand you right, good luck |
Quote:
Why thank you. :) I wanted to comment that out, but there is no dlls/shell32/shell32_main.c anywhere on my box ( tried search ) so yeah, thanks very much. :) Now I know how these patches work! :) |
ugh...new question ( NEWBIE!!! ) when patching should I cd to my .wine in my home folder? Or should I cd to the extracted folder the source was downloaded to?
|
the patch is for source, therefore cd to the source directory
|
Thank you very much for your help. :)
|
OK, so anybody know how to patch if you installed wine using a binary?
|
Generally, you cannot. But...
There're special patches for binaries. If you have thus, you can apply it, but not with 'patch', use appropriate program (depends on the patch you have). |
Quote:
Oh, OK. Thanks again! |
All times are GMT -5. The time now is 06:38 AM. |