aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-07-28 20:50:45 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-07-28 20:50:45 +0000
commit464e23c8d5383e70d70c9ab7e55e5c66d5c0e0bc (patch)
tree86301c22fafb3202f2d5a61d90dcbf4171959697
parent16767aaa188c92afa93fd99e322d9075d323ace2 (diff)
Add gcc4 related patch for kbd
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/gcc4/BOOK@6592 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml3
-rw-r--r--chapter03/patches.xml7
-rw-r--r--chapter06/kbd.xml5
-rw-r--r--patches.ent2
4 files changed, 17 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 5f5af18bc..1db261c30 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -95,6 +95,7 @@ First a summary, then a detailed log.</para>
<listitem><para>&glibc-gcc4_string-patch;</para></listitem>
<listitem><para>&glibc-gcc4_elf-patch;</para></listitem>
<listitem><para>&glibc-gcc4_iconvdata-patch;</para></listitem>
+<listitem><para>&kbd-gcc4_fixes-patch;</para></listitem>
<listitem><para>&inetutils-gcc4_fixes-patch;</para></listitem>
<listitem><para>&perl-libc-patch;</para></listitem>
<listitem><para>&tar-gcc4_fix-patch;</para></listitem>
@@ -113,6 +114,8 @@ First a summary, then a detailed log.</para>
</itemizedlist>
</listitem>
+<listitem><para>July 28th, 2005 [matt]: Add GCC-4 related patch for kbd</para></listitem>
+
<listitem><para>July 28st, 2005 [matt]: Add GCC-4 related patch for inetutils</para></listitem>
<listitem><para>July 28st, 2005 [matt]: Remove the note regarding a known test failure in GRUB. The test no longer fails under GCC-4</para></listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index 28e70c8fe..9840233c4 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -122,6 +122,13 @@ needed to build an LFS system:</para>
</varlistentry>
<varlistentry>
+<term>Kbd GCC-4.x Fix Patch - 1 KB:</term>
+<listitem>
+<para><ulink url="&patches-root;&kbd-gcc4_fixes-patch;"/></para>
+</listitem>
+</varlistentry>
+
+<varlistentry>
<term>Inetutils GCC-4.x Fix Patch - 2 KB:</term>
<listitem>
<para><ulink url="&patches-root;&inetutils-gcc4_fixes-patch;"/></para>
diff --git a/chapter06/kbd.xml b/chapter06/kbd.xml
index 70a5980fe..1e71570be 100644
--- a/chapter06/kbd.xml
+++ b/chapter06/kbd.xml
@@ -30,6 +30,11 @@ Diffutils, Flex, GCC, Gettext, Glibc, Grep, Gzip, M4, Make, and Sed</seg></segli
<sect2 role="installation">
<title>Installation of Kbd</title>
+<para>Patch Kbd to fix a bug in <command>setfont</command> that is triggered
+when compiling with GCC-&gcc-version;:</para>
+
+<screen><userinput>patch -Np1 -i ../&kbd-gcc4_fixes-patch;</userinput></screen>
+
<para>Prepare Kbd for compilation:</para>
<screen><userinput>./configure</userinput></screen>
diff --git a/patches.ent b/patches.ent
index 276b27d0a..8ba152bdc 100644
--- a/patches.ent
+++ b/patches.ent
@@ -23,6 +23,8 @@
<!ENTITY gzip-security_fix-patch "gzip-&gzip-version;-security_fixes-1.patch">
+<!ENTITY kbd-gcc4_fixes-patch "kbd-&kbd-version;-gcc4_fixes-1.patch">
+
<!ENTITY inetutils-gcc4_fixes-patch "inetutils-&inetutils-version;-gcc4_fixes-1.patch">
<!ENTITY inetutils-man_pages-patch "inetutils-&inetutils-version;-no_server_man_pages-1.patch">