Browse Source

Add a patch to fix Kmod's testsiute on 32-bit systems. Fixes #3191.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10010 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 12 years ago
parent
commit
aa29437f53
5 changed files with 25 additions and 0 deletions
  1. 4 0
      chapter01/changelog.xml
  2. 4 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 4 0
      chapter06/kmod.xml
  5. 5 0
      patches.ent

+ 4 - 0
chapter01/changelog.xml

@@ -39,6 +39,10 @@
     <listitem>
       <para>2012-10-02</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] - Add a patch to allow Kmod's testsuite to pass on 32-bit
+          systems. Fixes <ulink url="&lfs-ticket-root;3191">#3191</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[matthew] - Upgrade to GCC-4.7.2. Fixes
           <ulink url="&lfs-ticket-root;3190">#3190</ulink>.</para>

+ 4 - 0
chapter01/whatsnew.xml

@@ -234,6 +234,10 @@
       <para>&glibc-installation-patch;</para>
     </listitem>
 
+    <listitem>
+      <para>&kmod-test_fix-patch;</para>
+    </listitem>
+
     <listitem>
       <para>&make-fixes-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -107,6 +107,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Kmod Testsuite Fix Patch - <token>&kmod-test_fix-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&kmod-test_fix-patch;"/></para>
+        <para>MD5 sum: <literal>&kmod-test_fix-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Make Upstream Fixes Patch - <token>&make-fixes-patch-size;</token>:</term>
       <listitem>

+ 4 - 0
chapter06/kmod.xml

@@ -41,6 +41,10 @@
   <sect2 role="installation">
     <title>Installation of Kmod</title>
 
+    <para>Apply a patch to fix a testsuite issue on 32-bit machines:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&kmod-test_fix-patch;</userinput></screen>
+
     <para>Prepare Kmod for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr       \

+ 5 - 0
patches.ent

@@ -62,6 +62,11 @@
 <!ENTITY kbd-fixes-patch-size "1.6 KB">
 
 
+<!ENTITY kmod-test_fix-patch "kmod-&kmod-version;-testsuite-1.patch">
+<!ENTITY kmod-test_fix-patch-md5 "ac03d29f6c2fcfd455c10618c3515d05">
+<!ENTITY kmod-test_fix-patch-size "1.3 KB">
+
+
 <!ENTITY make-fixes-patch "make-&make-version;-upstream_fixes-3.patch">
 <!ENTITY make-fixes-patch-md5 "95027ab5b53d01699845d9b7e1dc878d">
 <!ENTITY make-fixes-patch-size "10 KB">