aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/fileutils-exp.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-05-30 11:51:27 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-05-30 11:51:27 +0000
commit3b3e965d2933fadf3933216cbf53373f7cfa1b8a (patch)
treed4c5aad73b462158b2b9751fa306375c9c0e0f2b /chapter05/fileutils-exp.xml
parentca6391e6590484cfb50a436acd844cd199b9e5d5 (diff)
Fix bug #316 - replace sed's with patches. Done for c5-fileutils, c6-glibc, c6-gawk and c6-ed
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1947 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/fileutils-exp.xml')
-rw-r--r--chapter05/fileutils-exp.xml12
1 files changed, 4 insertions, 8 deletions
diff --git a/chapter05/fileutils-exp.xml b/chapter05/fileutils-exp.xml
index 99bc82a1e..2accc77ed 100644
--- a/chapter05/fileutils-exp.xml
+++ b/chapter05/fileutils-exp.xml
@@ -5,14 +5,10 @@
run this command in order to keep a backup of the file we are about to
change.</para>
-<para><userinput>cp lib/Makefile.in lib/Makefile.in.backup &amp;&amp;
-sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \
-&nbsp;&nbsp;&nbsp;&nbsp;-e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \
-&nbsp;&nbsp;&nbsp;&nbsp;lib/Makefile.in.backup &gt; lib/Makefile.in:</userinput>
-This is used to fix a problem with building fileutils statically on glibc 2.2.3
-systems. If this isn't done, then there is the possibility of all of the
-fileutils programs causing segmentation faults once chroot is entered
-in chapter 6.</para>
+<para><userinput>patch -Np1 -i ../fileutils-&fileutils-version;.patch:</userinput> This is used to fix a problem with building fileutils statically on
+glibc 2.2.3 systems. If this isn't done, then there is the possibility of
+all of the fileutils programs causing segmentation faults once chroot is
+entered in chapter 6.</para>
</sect2>