[Wine] need help to compile wine with patches

John Drescher drescherjm at gmail.com
Sun May 24 19:05:57 CDT 2009


On Sun, May 24, 2009 at 7:52 PM, tedem82 <wineforum-user at winehq.org> wrote:
> hello,
> i have a problem to patch wine.
> it's about this bug : http://bugs.winehq.org/show_bug.cgi?id=13335,
> and concerning mmap.patch.
> here is the command line that i tried : patch -p1 < mmap.patch
>
> but here is the result :
>
>
> Code:
> teddy at tedportable:~/wine/wine-1.1.18$ patch -p1 < mmap.patch
> patching file dlls/ntdll/ntdll_misc.h
> Hunk #1 FAILED at 139.
> 1 out of 1 hunk FAILED -- saving rejects to file dlls/ntdll/ntdll_misc.h.rej
> can't find file to patch at input line 34
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/dlls/ntdll/pthread.c b/dlls/ntdll/pthread.c
> |index 60b6033..e2c3aa6 100644
> |--- a/dlls/ntdll/pthread.c
> |+++ b/dlls/ntdll/pthread.c
> --------------------------
> [b]File to patch: [/b]
> Skip this patch? [y] n
> File to patch: pthread.c
> pthread.c: No such file or directory
> Skip this patch? [y]
> Skipping patch.
> 1 out of 1 hunk ignored
> patching file dlls/ntdll/virtual.c
> Hunk #1 FAILED at 53.
> Hunk #2 succeeded at 149 (offset 1 line).
> Hunk #3 succeeded at 362 (offset 1 line).
> Hunk #4 succeeded at 389 (offset 1 line).
> 1 out of 10 hunks FAILED -- saving rejects to file dlls/ntdll/virtual.c.rej
> patching file include/wine/pthread.h
> Hunk #1 FAILED at 77.
> Hunk #2 succeeded at 61 (offset -51 lines).
> 1 out of 2 hunks FAILED -- saving rejects to file include/wine/pthread.h.rej
> patching file libs/wine/mmap.c
> patching file libs/wine/port.c
> can't find file to patch at input line 519
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff --git a/loader/kthread.c b/loader/kthread.c
> |index c791ef6..3d62ddf 100644
> |--- a/loader/kthread.c
> |+++ b/loader/kthread.c
> --------------------------
> File to patch:
> Skip this patch? [y]
> Skipping patch.
> 4 out of 4 hunks ignored
> patching file loader/pthread.c
> Hunk #1 succeeded at 63 with fuzz 1 (offset 11 lines).
> Hunk #2 succeeded at 73 (offset 11 lines).
> Hunk #3 succeeded at 213 (offset 22 lines).
> Hunk #4 succeeded at 272 (offset 22 lines).
> Hunk #5 succeeded at 281 (offset 22 lines).
>
>
>
>
> what do i make with the question "File to patch:" ?
>
>


More information about the wine-users mailing list