diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-07 13:43:37 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-08-07 13:43:37 +0000 |
commit | 1dc3102768341ef023f012fef77ddee454d98f21 (patch) | |
tree | 65c153d3dc736b1e1b515e236433379244900f64 /chapter06/shadowpwd-inst.xml | |
parent | 6fda0ee9409b4d4a75f896c32d33fa13823693dd (diff) |
Bug 123: change patch to sed
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@922 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadowpwd-inst.xml')
-rw-r--r-- | chapter06/shadowpwd-inst.xml | 9 |
1 files changed, 4 insertions, 5 deletions
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 @@ <sect2> <title>Installation of Shadow Password Suite</title> -<para>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:</para> +<para>Install the Shadow Password Suite by running the +following commands:</para> -<para><screen><userinput>patch -Np1 -i ../shadow-20001016.patch &&</userinput> +<para><screen><userinput>mv src/useradd.c useradd.c.temp &&</userinput> +<userinput>sed 's/\(.*\) (nflg || \(.*\)/\1\(\2/' useradd.c.temp > src/useradd.c &&</userinput> <userinput>./configure --prefix=/usr &&</userinput> <userinput>make &&</userinput> <userinput>make install &&</userinput> |