You are not logged in.

#1 2008-05-19 05:45:05

Mr. X
Member
From: belgrade, serbia
Registered: 2007-02-28
Posts: 67

[solved] how to apply a wine patch?

I was hoping wine developers will fix the AcceptEx bug before the code freeze, but now I realize I'll have to patch it by myself...

There is a working patch for the bug, but I have no idea how to apply it...

Can anyone explain the process to me?

Last edited by Mr. X (2008-05-19 19:42:08)

Offline

#2 2008-05-19 06:05:09

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: [solved] how to apply a wine patch?

Offline

#3 2008-05-19 06:25:09

hennes
Member
Registered: 2008-03-31
Posts: 50

Re: [solved] how to apply a wine patch?

Install abs (check the wiki for more info), copy the PKGBUILD from your local abs-tree to some new directory. Download the patch to the same directory. Then remove the a/ and b/ at line 3 and 4 of the patch and add someting like

patch -p0 <../../patch

To the PKGBUILD after cd'ing into the source dir. Then

makepkg -c

and you should be done.

smile

Offline

#4 2008-05-19 07:01:20

Mr. X
Member
From: belgrade, serbia
Registered: 2007-02-28
Posts: 67

Re: [solved] how to apply a wine patch?

why should I remove "a/" and "b/" from the patch?

EDIT: ok I see why x)
it's compiling now, thanks!

Last edited by Mr. X (2008-05-19 07:15:26)

Offline

#5 2008-05-19 10:36:14

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [solved] how to apply a wine patch?

Isn't that where using -p1 is for?

Offline

#6 2008-05-19 10:44:48

hennes
Member
Registered: 2008-03-31
Posts: 50

Re: [solved] how to apply a wine patch?

Yes, you're right. I should have thought twice.

Offline

Board footer

Powered by FluxBB