aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZack Winkles <winkie@linuxfromscratch.org>2004-06-07 19:42:59 +0000
committerZack Winkles <winkie@linuxfromscratch.org>2004-06-07 19:42:59 +0000
commitaa242b107f51b4aeec66a0ec27d023fa355886c6 (patch)
treef8696f0ff2ad450c76152361bb7f1706b812de10
parent7e6c41d725951299381fb8e028c0e104842706d0 (diff)
*** empty log message ***
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3765 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml4
-rw-r--r--chapter03/patches.xml7
-rw-r--r--chapter06/net-tools.xml5
3 files changed, 5 insertions, 11 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 8edb34723..fc447e57d 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -70,7 +70,6 @@ first a summary, then a detailed log.</para>
<listitem><para>mktemp-1.5-add_tempfile-1.patch</para></listitem>
<listitem><para>module-init-tools-3.0</para></listitem>
<listitem><para>net-tools-1.60-gcc34-2.patch</para></listitem>
-<listitem><para>net-tools-1.60-kernel_headers-1.patch</para></listitem>
<listitem><para>readline-4.3</para></listitem>
<listitem><para>readline-4.3-gnu_fixes-1.patch</para></listitem>
<listitem><para>sysklogd-1.4.1-kernel_headers-1.patch</para></listitem>
@@ -104,6 +103,9 @@ first a summary, then a detailed log.</para>
</itemizedlist>
</listitem>
+<listitem><para>June 7, 2004 [winkie]: Dropped Net-tools patch for kernel
+headers in favor of a simple sed.</para></listitem>
+
<listitem><para>June 7, 2004 [winkie]: Normalized <quote>sed</quote> usage
throughout the book.</para></listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index b2ef5dfb1..79d4ab310 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -120,13 +120,6 @@ following:</para>
</varlistentry>
<varlistentry>
-<term>Net-tools Kernel Headers Patch - 1 KB:</term>
-<listitem>
-<para><ulink url="&patches-root;net-tools-&net-tools-version;-kernel_headers-1.patch"/></para>
-</listitem>
-</varlistentry>
-
-<varlistentry>
<term>Perl Libc Patch - 1 KB:</term>
<listitem>
<para><ulink url="&patches-root;perl-&perl-version;-libc-1.patch"/></para>
diff --git a/chapter06/net-tools.xml b/chapter06/net-tools.xml
index de02cbc44..1b910acf5 100644
--- a/chapter06/net-tools.xml
+++ b/chapter06/net-tools.xml
@@ -43,10 +43,9 @@ fix by applying the following patch:</para>
<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-gcc34-2.patch</userinput></screen>
-<para>Net-tools has issues with the Linux 2.6 kernel series - fix these issues
-by applying the following patch:</para>
+<para>Fix an issue that arises when building against Linux 2.6:</para>
-<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-kernel_headers-1.patch</userinput></screen>
+<screen><userinput>sed -i 's@x25_address@struct &amp;@' lib/x25_sr.c</userinput></screen>
<para>Now prepare Net-tools for compilation (if you intend to accept the
defaults, you can skip all the questions by running <userinput>yes "" |