diff options
Diffstat (limited to 'chapter05/fileutils-exp.xml')
-rw-r--r-- | chapter05/fileutils-exp.xml | 12 |
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 && -sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \ - -e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \ - lib/Makefile.in.backup > 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> |