Who told you to use sudo? That's not what you were told in the bug report you linked to. Patch the source and build Wine as a normal user. You only use sudo for make install. http://wiki.winehq.org/FAQ#head-7ed3c31 ... 53dc41817b
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
thomas.mullaly wrote:
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
Scratch that second link I sent you, I just realized that page was for applying that patch if you are using git. Simply use the command you we're trying earlier (minus running it as root) in the source code directory of Wine.