CFet wrote: > I'd like to patch my local copy of Wine with the patch found here: > > http://bugs.winehq.org/show_bug.cgi?id=23477 > > I received some instruction how to do this by using: > > > Code: > ~/.wine$ sudo patch -p1 < patch.patch > > > > However it came up with this result. Can anyone help me? I am very new to ubuntu and am trying hard to resist plunging back into windows :(. > > > > Code: > chris@chris-desktop:~/.wine$ sudo patch -p1 < patch.patch > patching file dlls/kernel32/file.c > Hunk #1 FAILED at 1001. > 1 out of 1 hunk FAILED -- saving rejects to file dlls/kernel32/file.c.rej > patching file dlls/kernel32/kernel32.spec > Hunk #1 FAILED at 1028. > 1 out of 1 hunk FAILED -- saving rejects to file dlls/kernel32/kernel32.spec.rej > chris@chris-desktop:~/.wine$ > > Hi CFet, Are you trying to patch the version of Wine you got out of the Ubuntu repositories? or are you trying to patch the source code of Wine? >From the looks of it, it seems like you are trying to patch the ~/.wine directory, which contains all the DLLs that Wine uses to run Windows apps. If so this, patches can only be applied to the source code of Wine, meaning you'll have to build Wine from source. You can download the tarball for the current release of Wine (1.3.0) and extract the code from it and then apply the patch that way. The tarball can be found here [1]. After you download and extract the tarball you can follow the instructions here [2] for applying the patch. After you apply the patch, you'll have to build Wine from source and install it in order for the patch to take affect. Also, there's no reason to run as root until you install Wine Hope this helps. [1] http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.3.0.tar.bz2 [2] http://wiki.winehq.org/Patching