I need to patch the source of glibc-2.3.2 with this patch, glibc-2.3.2-sscanf-1.patch. I am following the LFS book(I placed it in this forum because it is more of a general question about patching then LFS) The book gives me this command to do
Code:
patch -Np1 -i ../glibc-2.3.2-sscanf-1.patch
this does not make sence to me. I read man patch and it gave the syntax
Quote:
SYNOPSIS
patch [options] [originalfile [patchfile]]
but usually just
patch -pnum <patchfile
|
Am I supposed to move the patch into my directory glibc-2.3.2 then run this command from within the directory
Code:
patch -Np1 -i glibc-2.3.2-sscanf-1.patch