r5402 - in trunk/BOOK: chapter01 chapter03 chapter05 chapter06

jim at linuxfromscratch.org jim at linuxfromscratch.org
Mon May 23 13:07:57 PDT 2005


Author: jim
Date: 2005-05-23 14:07:49 -0600 (Mon, 23 May 2005)
New Revision: 5402

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter03/patches.xml
   trunk/BOOK/chapter05/bash.xml
   trunk/BOOK/chapter05/binutils-pass1.xml
   trunk/BOOK/chapter05/binutils-pass2.xml
   trunk/BOOK/chapter05/bison.xml
   trunk/BOOK/chapter05/bzip2.xml
   trunk/BOOK/chapter05/coreutils.xml
   trunk/BOOK/chapter05/dejagnu.xml
   trunk/BOOK/chapter05/diffutils.xml
   trunk/BOOK/chapter05/expect.xml
   trunk/BOOK/chapter05/findutils.xml
   trunk/BOOK/chapter05/flex.xml
   trunk/BOOK/chapter05/gawk.xml
   trunk/BOOK/chapter05/gcc-pass1.xml
   trunk/BOOK/chapter05/gcc-pass2.xml
   trunk/BOOK/chapter05/gettext.xml
   trunk/BOOK/chapter05/glibc.xml
   trunk/BOOK/chapter05/grep.xml
   trunk/BOOK/chapter05/gzip.xml
   trunk/BOOK/chapter05/linux-libc-headers.xml
   trunk/BOOK/chapter05/m4.xml
   trunk/BOOK/chapter05/make.xml
   trunk/BOOK/chapter05/ncurses.xml
   trunk/BOOK/chapter05/patch.xml
   trunk/BOOK/chapter05/perl.xml
   trunk/BOOK/chapter05/sed.xml
   trunk/BOOK/chapter05/tar.xml
   trunk/BOOK/chapter05/tcl.xml
   trunk/BOOK/chapter05/texinfo.xml
   trunk/BOOK/chapter05/util-linux.xml
   trunk/BOOK/chapter06/autoconf.xml
   trunk/BOOK/chapter06/automake.xml
   trunk/BOOK/chapter06/bash.xml
   trunk/BOOK/chapter06/binutils.xml
   trunk/BOOK/chapter06/bison.xml
   trunk/BOOK/chapter06/bzip2.xml
   trunk/BOOK/chapter06/coreutils.xml
   trunk/BOOK/chapter06/diffutils.xml
   trunk/BOOK/chapter06/e2fsprogs.xml
   trunk/BOOK/chapter06/file.xml
   trunk/BOOK/chapter06/findutils.xml
   trunk/BOOK/chapter06/flex.xml
   trunk/BOOK/chapter06/gawk.xml
   trunk/BOOK/chapter06/gcc.xml
   trunk/BOOK/chapter06/gettext.xml
   trunk/BOOK/chapter06/glibc.xml
   trunk/BOOK/chapter06/grep.xml
   trunk/BOOK/chapter06/groff.xml
   trunk/BOOK/chapter06/grub.xml
   trunk/BOOK/chapter06/gzip.xml
   trunk/BOOK/chapter06/hotplug.xml
   trunk/BOOK/chapter06/iana-etc.xml
   trunk/BOOK/chapter06/inetutils.xml
   trunk/BOOK/chapter06/iproute2.xml
   trunk/BOOK/chapter06/kbd.xml
   trunk/BOOK/chapter06/less.xml
   trunk/BOOK/chapter06/libtool.xml
   trunk/BOOK/chapter06/linux-libc-headers.xml
   trunk/BOOK/chapter06/m4.xml
   trunk/BOOK/chapter06/make.xml
   trunk/BOOK/chapter06/man-pages.xml
   trunk/BOOK/chapter06/man.xml
   trunk/BOOK/chapter06/mktemp.xml
   trunk/BOOK/chapter06/module-init-tools.xml
   trunk/BOOK/chapter06/ncurses.xml
   trunk/BOOK/chapter06/patch.xml
   trunk/BOOK/chapter06/perl.xml
   trunk/BOOK/chapter06/procps.xml
   trunk/BOOK/chapter06/psmisc.xml
   trunk/BOOK/chapter06/readline.xml
   trunk/BOOK/chapter06/sed.xml
   trunk/BOOK/chapter06/shadow.xml
   trunk/BOOK/chapter06/sysklogd.xml
   trunk/BOOK/chapter06/sysvinit.xml
   trunk/BOOK/chapter06/tar.xml
   trunk/BOOK/chapter06/texinfo.xml
   trunk/BOOK/chapter06/udev.xml
   trunk/BOOK/chapter06/util-linux.xml
   trunk/BOOK/chapter06/vim.xml
   trunk/BOOK/chapter06/zlib.xml
Log:
Changed patches to use entities

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter01/changelog.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-scatter-changelog">
 <title>Changelog</title>
@@ -59,16 +61,16 @@
 
 <listitem><para>Added:</para>
 <itemizedlist>
-<listitem><para>bash-3.0-fixes-3.patch</para></listitem>
-<listitem><para>bash-3.0-avoid_WCONTINUED-1.patch</para></listitem>
-<listitem><para>glibc-2.3.5-fix_test-1.patch</para></listitem>
-<listitem><para>gzip-1.3.5-security_fixes-1.patch</para></listitem>
-<listitem><para>Hotplug 2004_09_23</para></listitem>
-<listitem><para>shadow-4.0.7-fix_lastlog-1.patch</para></listitem>
-<listitem><para>sysklogd-1.4.1-fixes-1.patch</para></listitem>
-<listitem><para>tar-1.15.1-sparse_fix-1.patch</para></listitem>
-<listitem><para>util-linux-2.12p-cramfs-1.patch</para></listitem>
-<listitem><para>vim-6.0-security_fix-1.patch</para></listitem>
+<listitem><para>&bash-fixes-patch;</para></listitem>
+<listitem><para>&bash-avoid_WCONTINUED-patch;</para></listitem>
+<listitem><para>&glibc-testfix-patch;</para></listitem>
+<listitem><para>&gzip-security_fix-patch;</para></listitem>
+<listitem><para>Hotplug &hotplug-version;</para></listitem>
+<listitem><para>&gzip-security_fix-patch;</para></listitem>
+<listitem><para>&sysklogd-fixes-patch;</para></listitem>
+<listitem><para>&tar-sparse_fix-patch;</para></listitem>
+<listitem><para>&util-linux-cramfs-patch;</para></listitem>
+<listitem><para>&vim-security_fix-patch;</para></listitem>
 </itemizedlist>
 </listitem>
  

Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter03/patches.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="materials-patches">
 <title>Needed Patches</title>
@@ -18,144 +20,137 @@
 <varlistentry>
 <term>Bash Various Fixes - 23 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;bash-&bash-version;-fixes-3.patch"/></para>
+<para><ulink url="&patches-root;&bash-fixes-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Bash Avoid Wcontinued Patch - 1 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;bash-&bash-version;-avoid_WCONTINUED-1.patch"/></para>
+<para><ulink url="&patches-root;&bash-avoid_WCONTINUED-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Coreutils Suppress Uptime, Kill, Su Patch - 16 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch"/></para>
+<para><ulink url="&patches-root;&coreutils-suppress-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Coreutils Uname Patch - 1 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;coreutils-&coreutils-version;-uname-2.patch"/></para>
+<para><ulink url="&patches-root;&coreutils-uname-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Expect Spawn Patch - 6 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;expect-&expect-version;-spawn-1.patch"/></para>
+<para><ulink url="&patches-root;&expect-spawn-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Flex Brokenness Patch - 8 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;flex-&flex-version;-debian_fixes-2.patch"/></para>
+<para><ulink url="&patches-root;&flex-fixes-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term> GCC Linkonce Patch - 12 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;gcc-&gcc-version;-linkonce-1.patch"/></para>
+<para><ulink url="&patches-root;&gcc-linkonce-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>GCC No-Fixincludes Patch - 1 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;gcc-&gcc-version;-no_fixincludes-1.patch"/></para>
+<para><ulink url="&patches-root;&gcc-no_fixincludes-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>GCC Specs Patch - 11 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;gcc-&gcc-version;-specs-2.patch"/></para>
+<para><ulink url="&patches-root;&gcc-specs-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Glibc Fix Testsuite Patch - 1 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;glibc-&glibc-version;-fix_test-1.patch"/></para>
+<para><ulink url="&patches-root;&glibc-testfix-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Gzip Security Patch - 2KB:</term><listitem>
-<para><ulink url="&patches-root;gzip-&gzip-version;-security_fixes-1.patch"/></para>
+<para><ulink url="&patches-root;&gzip-security_fix-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
-<term>Inetutils Kernel Headers Patch - 1 KB:</term>
-<listitem>
-<para><ulink url="&patches-root;inetutils-&inetutils-version;-kernel_headers-1.patch"/></para>
-</listitem>
-</varlistentry>
-
-<varlistentry>
 <term>Inetutils No-Server-Man-Pages Patch - 4 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;inetutils-&inetutils-version;-no_server_man_pages-1.patch"/></para>
+<para><ulink url="&patches-root;&inetutils-man_pages-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Mktemp Tempfile Patch - 3 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;mktemp-&mktemp-version;-add_tempfile-1.patch"/></para>
+<para><ulink url="&patches-root;&mktemp-tempfile-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>
+<para><ulink url="&patches-root;&perl-libc-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Readline Fixes Patch - 1 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;readline-&readline-version;-fixes-1.patch"/></para>
+<para><ulink url="&patches-root;&readline-fixes-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Shadow Lastlog Fix Patch - 1 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;shadow-&shadow-version;-fix_lastlog-1.patch"/></para>
+<para><ulink url="&patches-root;&shadow-lastlog-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Sysklogd Fixes Patch - 27 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;sysklogd-&sysklogd-version;-fixes-1.patch"/></para>
+<para><ulink url="&patches-root;&sysklogd-fixes-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Tar Sparse Fix Patch - 1 KB:</term>
 <listitem>
-<para><ulink url="&patches-root;tar-&tar-version;-sparse_fix-1.patch"/></para>
+<para><ulink url="&patches-root;&tar-sparse_fix-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Util-linux Cramfs Patch - 2kb:</term> <listitem>
-<para><ulink url="&patches-root;util-linux-&util-linux-version;-cramfs-1.patch"/></para>
+<para><ulink url="&patches-root;&util-linux-cramfs-patch;"/></para>
 </listitem>
 </varlistentry>
 
 <varlistentry>
 <term>Vim Security Patch - 8KB:</term><listitem>
-<para><ulink url="&patches-root;vim-&vim-version;-security_fix-1.patch"/></para>
+<para><ulink url="&patches-root;&vim-security_fix-patch;"/></para>
 </listitem>
 </varlistentry>
 

Modified: trunk/BOOK/chapter05/bash.xml
===================================================================
--- trunk/BOOK/chapter05/bash.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/bash.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-bash" role="wrap">
 <title>Bash-&bash-version;</title>
@@ -31,7 +33,7 @@
 <para>Bash has a problem when compiled against newer versions of Glibc, causing
 it to hang inappropriately.  This patch fixes the problem:</para>
 
-<screen><userinput>patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&bash-avoid_WCONTINUED-patch;</userinput></screen>
 
 <para>Prepare Bash for compilation:</para>
 

Modified: trunk/BOOK/chapter05/binutils-pass1.xml
===================================================================
--- trunk/BOOK/chapter05/binutils-pass1.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/binutils-pass1.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-binutils-pass1" role="wrap">
 <title>Binutils-&binutils-version; - Pass 1</title>

Modified: trunk/BOOK/chapter05/binutils-pass2.xml
===================================================================
--- trunk/BOOK/chapter05/binutils-pass2.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/binutils-pass2.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-binutils-pass2" role="wrap">
 <title>Binutils-&binutils-version; - Pass 2</title>

Modified: trunk/BOOK/chapter05/bison.xml
===================================================================
--- trunk/BOOK/chapter05/bison.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/bison.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-bison" xreflabel="Bison" role="wrap">
 <title>Bison-&bison-version;</title>

Modified: trunk/BOOK/chapter05/bzip2.xml
===================================================================
--- trunk/BOOK/chapter05/bzip2.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/bzip2.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-bzip2" role="wrap">
 <title>Bzip2-&bzip2-version;</title>

Modified: trunk/BOOK/chapter05/coreutils.xml
===================================================================
--- trunk/BOOK/chapter05/coreutils.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/coreutils.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-coreutils" role="wrap">
 <title>Coreutils-&coreutils-version;</title>

Modified: trunk/BOOK/chapter05/dejagnu.xml
===================================================================
--- trunk/BOOK/chapter05/dejagnu.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/dejagnu.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-dejagnu" role="wrap">
 <title>DejaGNU-&dejagnu-version;</title>

Modified: trunk/BOOK/chapter05/diffutils.xml
===================================================================
--- trunk/BOOK/chapter05/diffutils.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/diffutils.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-diffutils" role="wrap">
 <title>Diffutils-&diffutils-version;</title>

Modified: trunk/BOOK/chapter05/expect.xml
===================================================================
--- trunk/BOOK/chapter05/expect.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/expect.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-expect" role="wrap">
 <title>Expect-&expect-version;</title>
@@ -32,7 +34,7 @@
 <para>First, fix a bug that can result in false failures during the GCC test
 suite run:</para>
 
-<screen><userinput>patch -Np1 -i ../expect-&expect-version;-spawn-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&expect-spawn-patch;</userinput></screen>
 
 <para>Now prepare Expect for compilation:</para>
 

Modified: trunk/BOOK/chapter05/findutils.xml
===================================================================
--- trunk/BOOK/chapter05/findutils.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/findutils.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-findutils" role="wrap">
 <title>Findutils-&findutils-version;</title>

Modified: trunk/BOOK/chapter05/flex.xml
===================================================================
--- trunk/BOOK/chapter05/flex.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/flex.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-flex" role="wrap">
 <title>Flex-&flex-version;</title>
@@ -30,7 +32,7 @@
 <para>Flex contains several known bugs. These can be fixed with the
 following patch:</para>
 
-<screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian_fixes-2.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>
 
 <para>The GNU autotools will detect that the Flex source code has been
 modified by the previous patch and tries to update the manual page

Modified: trunk/BOOK/chapter05/gawk.xml
===================================================================
--- trunk/BOOK/chapter05/gawk.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/gawk.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-gawk" role="wrap">
 <title>Gawk-&gawk-version;</title>

Modified: trunk/BOOK/chapter05/gcc-pass1.xml
===================================================================
--- trunk/BOOK/chapter05/gcc-pass1.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/gcc-pass1.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-gcc-pass1" role="wrap">
 <title>GCC-&gcc-version; - Pass 1</title>

Modified: trunk/BOOK/chapter05/gcc-pass2.xml
===================================================================
--- trunk/BOOK/chapter05/gcc-pass2.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/gcc-pass2.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-gcc-pass2" role="wrap">
 <title>GCC-&gcc-version; - Pass 2</title>
@@ -64,8 +66,8 @@
 
 <para>First correct a known problem and make an essential adjustment:</para>
 
-<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch
-patch -Np1 -i ../gcc-&gcc-version;-specs-2.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&gcc-no_fixincludes-patch;
+patch -Np1 -i ../&gcc-specs-patch;</userinput></screen>
 
 <para>The first patch disables the GCC <command>fixincludes</command>
 script. This was briefly mentioned earlier, but a more in-depth

Modified: trunk/BOOK/chapter05/gettext.xml
===================================================================
--- trunk/BOOK/chapter05/gettext.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/gettext.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-gettext" role="wrap">
 <title>Gettext-&gettext-version;</title>

Modified: trunk/BOOK/chapter05/glibc.xml
===================================================================
--- trunk/BOOK/chapter05/glibc.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/glibc.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-glibc" role="wrap">
 <title>Glibc-&glibc-version;</title>
@@ -42,7 +44,7 @@
 problem has been determined to be with the tests themselves, not with the libc
 nor the kernel. If you plan to run the testsuite apply this patch:</para>
 
-<screen><userinput>patch -Np1 -i ../glibc-&glibc-version;-fix_test-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen>
 
 <para>The Glibc documentation recommends building Glibc outside of the source
 directory in a dedicated build directory:</para>

Modified: trunk/BOOK/chapter05/grep.xml
===================================================================
--- trunk/BOOK/chapter05/grep.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/grep.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-grep" role="wrap">
 <title>Grep-&grep-version;</title>

Modified: trunk/BOOK/chapter05/gzip.xml
===================================================================
--- trunk/BOOK/chapter05/gzip.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/gzip.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-gzip" role="wrap">
 <title>Gzip-&gzip-version;</title>

Modified: trunk/BOOK/chapter05/linux-libc-headers.xml
===================================================================
--- trunk/BOOK/chapter05/linux-libc-headers.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/linux-libc-headers.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-linux-libc-headers" role="wrap">
 <title>Linux-Libc-Headers-&linux-libc-headers-version;</title>

Modified: trunk/BOOK/chapter05/m4.xml
===================================================================
--- trunk/BOOK/chapter05/m4.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/m4.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-m4" role="wrap">
 <title>M4-&m4-version;</title>

Modified: trunk/BOOK/chapter05/make.xml
===================================================================
--- trunk/BOOK/chapter05/make.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/make.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-make" role="wrap">
 <title>Make-&make-version;</title>

Modified: trunk/BOOK/chapter05/ncurses.xml
===================================================================
--- trunk/BOOK/chapter05/ncurses.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/ncurses.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-ncurses" role="wrap">
 <title>Ncurses-&ncurses-version;</title>

Modified: trunk/BOOK/chapter05/patch.xml
===================================================================
--- trunk/BOOK/chapter05/patch.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/patch.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-patch" role="wrap">
 <title>Patch-&patch-version;</title>

Modified: trunk/BOOK/chapter05/perl.xml
===================================================================
--- trunk/BOOK/chapter05/perl.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/perl.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-perl" role="wrap">
 <title>Perl-&perl-version;</title>
@@ -30,7 +32,7 @@
 <para>First adapt some hard-wired paths to the C library by applying
 the following patch:</para>
 
-<screen><userinput>patch -Np1 -i ../perl-&perl-version;-libc-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&perl-libc-patch;</userinput></screen>
 
 <para>Prepare Perl for compilation (make sure to get the 'IO Fcntl POSIX'
 part of the command correct—they are all letters):</para>

Modified: trunk/BOOK/chapter05/sed.xml
===================================================================
--- trunk/BOOK/chapter05/sed.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/sed.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-sed" role="wrap">
 <title>Sed-&sed-version;</title>

Modified: trunk/BOOK/chapter05/tar.xml
===================================================================
--- trunk/BOOK/chapter05/tar.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/tar.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-tar" role="wrap">
 <title>Tar-&tar-version;</title>

Modified: trunk/BOOK/chapter05/tcl.xml
===================================================================
--- trunk/BOOK/chapter05/tcl.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/tcl.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-tcl" role="wrap">
 <title>Tcl-&tcl-version;</title>

Modified: trunk/BOOK/chapter05/texinfo.xml
===================================================================
--- trunk/BOOK/chapter05/texinfo.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/texinfo.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-texinfo" role="wrap">
 <title>Texinfo-&texinfo-version;</title>

Modified: trunk/BOOK/chapter05/util-linux.xml
===================================================================
--- trunk/BOOK/chapter05/util-linux.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter05/util-linux.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-tools-util-linux" role="wrap">
 <title>Util-linux-&util-linux-version;</title>

Modified: trunk/BOOK/chapter06/autoconf.xml
===================================================================
--- trunk/BOOK/chapter06/autoconf.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/autoconf.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-autoconf" role="wrap">
 <title>Autoconf-&autoconf-version;</title>

Modified: trunk/BOOK/chapter06/automake.xml
===================================================================
--- trunk/BOOK/chapter06/automake.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/automake.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-automake" role="wrap">
 <title>Automake-&automake-version;</title>

Modified: trunk/BOOK/chapter06/bash.xml
===================================================================
--- trunk/BOOK/chapter06/bash.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/bash.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-bash" role="wrap">
 <title>Bash-&bash-version;</title>
@@ -32,12 +34,12 @@
 <para>The following patch fixes various issues, including a problem where Bash
 will sometimes only show 33 characters on a line, then wrap to the next:</para>
 
-<screen><userinput>patch -Np1 -i ../bash-&bash-version;-fixes-3.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen>
 
 <para>Bash also has issues when compiled against newer versions of Glibc.  The
 following patch resolves this problem:</para>
 
-<screen><userinput>patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&bash-avoid_WCONTINUED-patch;</userinput></screen>
 
 <para>Prepare Bash for compilation:</para>
 

Modified: trunk/BOOK/chapter06/binutils.xml
===================================================================
--- trunk/BOOK/chapter06/binutils.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/binutils.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-binutils" role="wrap">
 <title>Binutils-&binutils-version;</title>

Modified: trunk/BOOK/chapter06/bison.xml
===================================================================
--- trunk/BOOK/chapter06/bison.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/bison.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-bison" role="wrap">
 <title>Bison-&bison-version;</title>

Modified: trunk/BOOK/chapter06/bzip2.xml
===================================================================
--- trunk/BOOK/chapter06/bzip2.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/bzip2.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-bzip2" role="wrap">
 <title>Bzip2-&bzip2-version;</title>

Modified: trunk/BOOK/chapter06/coreutils.xml
===================================================================
--- trunk/BOOK/chapter06/coreutils.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/coreutils.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-coreutils" role="wrap">
 <title>Coreutils-&coreutils-version;</title>
@@ -34,13 +36,12 @@
 returns <computeroutput>unknown</computeroutput>. The following patch
 fixes this behavior for Intel architectures:</para>
 
-<screen><userinput>patch -Np1 -i ../coreutils-&coreutils-version;-uname-2.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen>
 
 <para>Prevent Coreutils from installing binaries that will be later be
 installed by other packages:</para>
 
-<screen><userinput>patch -Np1 -i \
-    ../coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen>
 
 <para>Now prepare Coreutils for compilation:</para>
 

Modified: trunk/BOOK/chapter06/diffutils.xml
===================================================================
--- trunk/BOOK/chapter06/diffutils.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/diffutils.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-diffutils" role="wrap">
 <title>Diffutils-&diffutils-version;</title>

Modified: trunk/BOOK/chapter06/e2fsprogs.xml
===================================================================
--- trunk/BOOK/chapter06/e2fsprogs.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/e2fsprogs.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-e2fsprogs" role="wrap">
 <title>E2fsprogs-&e2fsprogs-version;</title>

Modified: trunk/BOOK/chapter06/file.xml
===================================================================
--- trunk/BOOK/chapter06/file.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/file.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-file" role="wrap">
 <title>File-&file-version;</title>

Modified: trunk/BOOK/chapter06/findutils.xml
===================================================================
--- trunk/BOOK/chapter06/findutils.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/findutils.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-findutils" role="wrap">
 <title>Findutils-&findutils-version;</title>

Modified: trunk/BOOK/chapter06/flex.xml
===================================================================
--- trunk/BOOK/chapter06/flex.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/flex.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-flex" role="wrap">
 <title>Flex-&flex-version;</title>
@@ -31,7 +33,7 @@
 
 <para>Flex contains several known bugs. Fix these with the following patch:</para>
 
-<screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian_fixes-2.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>
 
 <para>The GNU autotools detects that the Flex source code has been
 modified by the previous patch and tries to update the manual page

Modified: trunk/BOOK/chapter06/gawk.xml
===================================================================
--- trunk/BOOK/chapter06/gawk.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/gawk.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-gawk" role="wrap">
 <title>Gawk-&gawk-version;</title>

Modified: trunk/BOOK/chapter06/gcc.xml
===================================================================
--- trunk/BOOK/chapter06/gcc.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/gcc.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-gcc" role="wrap">
 <title>GCC-&gcc-version;</title>
@@ -42,13 +44,13 @@
 <para>Apply only the No-Fixincludes patch (not the Specs patch) also
 used in the previous chapter:</para>
 
-<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-no_fixincludes-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&gcc-no_fixincludes-patch;</userinput></screen>
 
 <para>GCC fails to compile some packages outside of a base Linux From Scratch
 install (e.g., Mozilla and kdegraphics) when used in conjunction with newer
 versions of Binutils.  Apply the following patch to fix this issue:</para>
 
-<screen><userinput>patch -Np1 -i ../gcc-&gcc-version;-linkonce-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&gcc-linkonce-patch;</userinput></screen>
 
 <para>Apply a sed substitution that will suppress the installation of
 <filename class="libraryfile">libiberty.a</filename>. The version of

Modified: trunk/BOOK/chapter06/gettext.xml
===================================================================
--- trunk/BOOK/chapter06/gettext.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/gettext.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-gettext" role="wrap">
 <title>Gettext-&gettext-version;</title>

Modified: trunk/BOOK/chapter06/glibc.xml
===================================================================
--- trunk/BOOK/chapter06/glibc.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/glibc.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-glibc" role="wrap">
 <title>Glibc-&glibc-version;</title>
@@ -55,7 +57,7 @@
 problem has been determined to be with the tests themselves, not with the libc
 nor the kernel. This patch fixes the problem:</para>
 
-<screen><userinput>patch -Np1 -i ../glibc-&glibc-version;-fix_test-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen>
 
 <para>The Glibc documentation recommends building Glibc outside of the source
 directory in a dedicated build directory:</para>

Modified: trunk/BOOK/chapter06/grep.xml
===================================================================
--- trunk/BOOK/chapter06/grep.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/grep.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-grep" role="wrap">
 <title>Grep-&grep-version;</title>

Modified: trunk/BOOK/chapter06/groff.xml
===================================================================
--- trunk/BOOK/chapter06/groff.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/groff.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-groff" role="wrap">
 <title>Groff-&groff-version;</title>

Modified: trunk/BOOK/chapter06/grub.xml
===================================================================
--- trunk/BOOK/chapter06/grub.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/grub.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-grub" role="wrap">
 <title>Grub-&grub-version;</title>

Modified: trunk/BOOK/chapter06/gzip.xml
===================================================================
--- trunk/BOOK/chapter06/gzip.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/gzip.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-gzip" role="wrap">
 <title>Gzip-&gzip-version;</title>
@@ -32,7 +34,7 @@
 <para>Gzip has 2 known security vulnerabilites.  The following patch
 addresses both of them:</para>
 
-<screen><userinput>patch -Np1 -i ../gzip-&gzip-version;-security_fixes-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen>
 
 <para>Prepare Gzip for compilation:</para>
 

Modified: trunk/BOOK/chapter06/hotplug.xml
===================================================================
--- trunk/BOOK/chapter06/hotplug.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/hotplug.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-hotplug" xreflabel="Hotplug" role="wrap">
 <title>Hotplug-&hotplug-version;</title>

Modified: trunk/BOOK/chapter06/iana-etc.xml
===================================================================
--- trunk/BOOK/chapter06/iana-etc.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/iana-etc.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-iana-etc" role="wrap">
 <title>Iana-Etc-&iana-etc-version;</title>

Modified: trunk/BOOK/chapter06/inetutils.xml
===================================================================
--- trunk/BOOK/chapter06/inetutils.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/inetutils.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-inetutils" role="wrap">
 <title>Inetutils-&inetutils-version;</title>
@@ -28,17 +30,12 @@
 <sect2 role="installation">
 <title>Installation of Inetutils</title>
 
-<para>Inetutils has issues with the Linux 2.6 kernel series. Fix these
-issues by applying the following patch:</para>
-
-<screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-kernel_headers-1.patch</userinput></screen>
-
 <para>All programs that come with Inetutils will not be installed.
 However, the Inetutils build system will insist on installing all the
 man pages anyway. The following patch will correct this
 situation:</para>
 
-<screen><userinput>patch -Np1 -i ../inetutils-&inetutils-version;-no_server_man_pages-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen>
 
 <para>Prepare Inetutils for compilation:</para>
 

Modified: trunk/BOOK/chapter06/iproute2.xml
===================================================================
--- trunk/BOOK/chapter06/iproute2.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/iproute2.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-iproute2" role="wrap">
   <title>IPRoute2-&iproute2-version;</title>

Modified: trunk/BOOK/chapter06/kbd.xml
===================================================================
--- trunk/BOOK/chapter06/kbd.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/kbd.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-kbd" role="wrap">
 <title>Kbd-&kbd-version;</title>

Modified: trunk/BOOK/chapter06/less.xml
===================================================================
--- trunk/BOOK/chapter06/less.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/less.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-less" role="wrap">
 <title>Less-&less-version;</title>

Modified: trunk/BOOK/chapter06/libtool.xml
===================================================================
--- trunk/BOOK/chapter06/libtool.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/libtool.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-libtool" role="wrap">
 <title>Libtool-&libtool-version;</title>

Modified: trunk/BOOK/chapter06/linux-libc-headers.xml
===================================================================
--- trunk/BOOK/chapter06/linux-libc-headers.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/linux-libc-headers.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-linux-libc-headers" role="wrap">
 <title>Linux-Libc-Headers-&linux-libc-headers-version;</title>

Modified: trunk/BOOK/chapter06/m4.xml
===================================================================
--- trunk/BOOK/chapter06/m4.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/m4.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-m4" role="wrap">
 <title>M4-&m4-version;</title>

Modified: trunk/BOOK/chapter06/make.xml
===================================================================
--- trunk/BOOK/chapter06/make.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/make.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-make" role="wrap">
 <title>Make-&make-version;</title>

Modified: trunk/BOOK/chapter06/man-pages.xml
===================================================================
--- trunk/BOOK/chapter06/man-pages.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/man-pages.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-man-pages" role="wrap">
 <title>Man-pages-&man-pages-version;</title>

Modified: trunk/BOOK/chapter06/man.xml
===================================================================
--- trunk/BOOK/chapter06/man.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/man.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-man" role="wrap">
 <title>Man-&man-version;</title>

Modified: trunk/BOOK/chapter06/mktemp.xml
===================================================================
--- trunk/BOOK/chapter06/mktemp.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/mktemp.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-mktemp" role="wrap">
 <title>Mktemp-&mktemp-version;</title>
@@ -33,7 +35,7 @@
 to <command>mktemp</command>. Patch Mktemp to include a
 <command>tempfile</command> wrapper:</para>
 
-<screen><userinput>patch -Np1 -i ../mktemp-&mktemp-version;-add_tempfile-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&mktemp-tempfile-patch;</userinput></screen>
 
 <para>Prepare Mktemp for compilation:</para>
 

Modified: trunk/BOOK/chapter06/module-init-tools.xml
===================================================================
--- trunk/BOOK/chapter06/module-init-tools.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/module-init-tools.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-module-init-tools" role="wrap">
 <title>Module-Init-Tools-&module-init-tools-version;</title>

Modified: trunk/BOOK/chapter06/ncurses.xml
===================================================================
--- trunk/BOOK/chapter06/ncurses.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/ncurses.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-ncurses" role="wrap">
 <title>Ncurses-&ncurses-version;</title>

Modified: trunk/BOOK/chapter06/patch.xml
===================================================================
--- trunk/BOOK/chapter06/patch.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/patch.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-patch" role="wrap">
 <title>Patch-&patch-version;</title>

Modified: trunk/BOOK/chapter06/perl.xml
===================================================================
--- trunk/BOOK/chapter06/perl.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/perl.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-perl" role="wrap">
 <title>Perl-&perl-version;</title>

Modified: trunk/BOOK/chapter06/procps.xml
===================================================================
--- trunk/BOOK/chapter06/procps.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/procps.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-procps" role="wrap">
 <title>Procps-&procps-version;</title>

Modified: trunk/BOOK/chapter06/psmisc.xml
===================================================================
--- trunk/BOOK/chapter06/psmisc.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/psmisc.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-psmisc" role="wrap">
 <title>Psmisc-&psmisc-version;</title>

Modified: trunk/BOOK/chapter06/readline.xml
===================================================================
--- trunk/BOOK/chapter06/readline.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/readline.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-readline" role="wrap">
 <title>Readline-&readline-version;</title>
@@ -33,7 +35,7 @@
 to the next line. It also includes other fixes recommended by the
 Readline author.</para>
 
-<screen><userinput>patch -Np1 -i ../readline-&readline-version;-fixes-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
 
 <para>Prepare Readline for compilation:</para>
 

Modified: trunk/BOOK/chapter06/sed.xml
===================================================================
--- trunk/BOOK/chapter06/sed.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/sed.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-sed" role="wrap">
 <title>Sed-&sed-version;</title>

Modified: trunk/BOOK/chapter06/shadow.xml
===================================================================
--- trunk/BOOK/chapter06/shadow.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/shadow.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-shadow" role="wrap">
 <title>Shadow-&shadow-version;</title>

Modified: trunk/BOOK/chapter06/sysklogd.xml
===================================================================
--- trunk/BOOK/chapter06/sysklogd.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/sysklogd.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-sysklogd" xreflabel="Sysklogd" role="wrap">
 <title>Sysklogd-&sysklogd-version;</title>
@@ -31,7 +33,7 @@
 <para>The following patch fixes various issues, including a problem building
 Sysklogd with Linux 2.6 series kernels</para>
 
-<screen><userinput>patch -Np1 -i ../sysklogd-&sysklogd-version;-fixes-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen>
 
 <para>Compile the package:</para>
 

Modified: trunk/BOOK/chapter06/sysvinit.xml
===================================================================
--- trunk/BOOK/chapter06/sysvinit.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/sysvinit.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-sysvinit" role="wrap">
 <title>Sysvinit-&sysvinit-version;</title>

Modified: trunk/BOOK/chapter06/tar.xml
===================================================================
--- trunk/BOOK/chapter06/tar.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/tar.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-tar" role="wrap">
 <title>Tar-&tar-version;</title>
@@ -31,7 +33,7 @@
 <para>Tar has a bug when the <parameter>-S</parameter> option is used 
 with files larger than 4 GB. The following patch properly fixes this issue:</para>
 
-<screen><userinput>patch -Np1 -i ../tar-&tar-version;-sparse_fix-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen>
 
 <para>Prepare Tar for compilation:</para>
 

Modified: trunk/BOOK/chapter06/texinfo.xml
===================================================================
--- trunk/BOOK/chapter06/texinfo.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/texinfo.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-texinfo" role="wrap">
 <title>Texinfo-&texinfo-version;</title>

Modified: trunk/BOOK/chapter06/udev.xml
===================================================================
--- trunk/BOOK/chapter06/udev.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/udev.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-udev" role="wrap">
 <title>Udev-&udev-version;</title>

Modified: trunk/BOOK/chapter06/util-linux.xml
===================================================================
--- trunk/BOOK/chapter06/util-linux.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/util-linux.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-util-linux" role="wrap">
 <title>Util-linux-&util-linux-version;</title>
@@ -49,7 +51,7 @@
 <para>Util-linux has a compilation error against newer versions of
 Linux-Libc-Headers.  The following patch properly fixes that issue</para>
 
-<screen><userinput>patch -Np1 -i ../util-linux-&util-linux-version;-cramfs-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen>
 
 <para>Prepare Util-linux for compilation:</para>
 

Modified: trunk/BOOK/chapter06/vim.xml
===================================================================
--- trunk/BOOK/chapter06/vim.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/vim.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-vim" role="wrap">
 <title>Vim-&vim-version;</title>
@@ -49,7 +51,7 @@
 <para>Vim has a security vulnerability already addressed upstream.  The
 following patch fixes the problem:</para>
 
-<screen><userinput>patch -Np1 -i ../vim-&vim-version;-security_fix-1.patch</userinput></screen>
+<screen><userinput>patch -Np1 -i ../&vim-security_fix-patch;</userinput></screen>
 
 <para>Now prepare Vim for compilation:</para>
 

Modified: trunk/BOOK/chapter06/zlib.xml
===================================================================
--- trunk/BOOK/chapter06/zlib.xml	2005-05-23 19:21:17 UTC (rev 5401)
+++ trunk/BOOK/chapter06/zlib.xml	2005-05-23 20:07:49 UTC (rev 5402)
@@ -1,7 +1,9 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
   <!ENTITY % general-entities SYSTEM "../general.ent">
+  <!ENTITY % patches-entities SYSTEM "../patches.ent">
   %general-entities;
+  %patches-entities;
 ]>
 <sect1 id="ch-system-zlib" role="wrap">
 <title>Zlib-&zlib-version;</title>




More information about the lfs-book mailing list