cannot patch glib with sscanf-1.patch

daniel widyanto kunil at dsp.itb.ac.id
Tue Feb 17 10:40:53 PST 2004


You should patch it in glibc-2.3.2 source directory not in glibc-build
directory

> following the book, I try to patch glibc.
>
> $ patch -Np1 -i ../glibc-2.3.2-sscanf-1.patch
>
> Here is the error:
>
> patching file libio/swprintf.c
> Hunk #1 FAILED at 1.
> Hunk #2 FAILED at 23.
> 2 out of 2 hunks FAILED -- saving rejects to file libio/swprintf.c.rej
> patching file libio/swscanf.c
> Hunk #1 FAILED at 1.
> Hunk #2 FAILED at 22.
> 2 out of 2 hunks FAILED -- saving rejects to file libio/swscanf.c.rej
> patching file stdio-common/sscanf.c
> Hunk #1 FAILED at 1.
> Hunk #2 FAILED at 27.
> 2 out of 2 hunks FAILED -- saving rejects to file
> stdio-common/sscanf.c.rej
> Pev




More information about the lfs-support mailing list