mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-12-27 03:33:50 -05:00
Merge branch 'trunk' of git.linuxfromscratch.org:lfs into trunk
This commit is contained in:
@@ -76,9 +76,9 @@ esac</userinput></screen>
|
||||
<para>
|
||||
This example demonstrates the use of the
|
||||
<parameter>-i.orig</parameter> switch. It makes the
|
||||
<command>sed</command> copy the <filename>t-linux64</filename>
|
||||
to <filename>t-linux64.orig</filename>, and then edit the
|
||||
<filename>t-linux64</filename> inplace. So you may run
|
||||
<command>sed</command> copy the <filename>t-linux64</filename> file
|
||||
to <filename>t-linux64.orig</filename>, and then edit the original
|
||||
<filename>t-linux64</filename> file inplace. So you may run
|
||||
<command>diff -u gcc/config/i386/t-linux64{.orig,}</command>
|
||||
to visualize the change done by the <command>sed</command> command
|
||||
afterwards. We'll simply use <parameter>-i</parameter> (which just
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
|
||||
|
||||
<para>Now fix a security vulnerability:</para>
|
||||
<para>Now fix an issue which may break Valgrind in BLFS:</para>
|
||||
|
||||
<screen><userinput remap="pre">sed -e '/unistd.h/i #include <string.h>' \
|
||||
-e '/libc_rwlock_init/c\
|
||||
|
||||
Reference in New Issue
Block a user