From 1dc3102768341ef023f012fef77ddee454d98f21 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Tue, 7 Aug 2001 13:43:37 +0000 Subject: Bug 123: change patch to sed git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@922 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/shadowpwd-inst.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'chapter06/shadowpwd-inst.xml') diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index 040cc8acc..3a3d59644 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -1,12 +1,11 @@ Installation of Shadow Password Suite -Before the shadow Password Suite can be installed, the patch file -must be unpacked. This patch fixes a compliation problem due to a -variable being used but not defined. Install the Shadow Password -Suite by running the following commands: +Install the Shadow Password Suite by running the +following commands: -patch -Np1 -i ../shadow-20001016.patch && +mv src/useradd.c useradd.c.temp && +sed 's/\(.*\) (nflg || \(.*\)/\1\(\2/' useradd.c.temp > src/useradd.c && ./configure --prefix=/usr && make && make install && -- cgit v1.2.3-54-g00ecf