Author: matthew
Date: 2007-10-29 15:41:50 -0600 (Mon, 29 Oct 2007)
New Revision: 8421

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter06/udev.xml
   trunk/BOOK/patches.ent
Log:
Add a patch to fix a segfault in usb_id.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2007-10-29 21:41:18 UTC (rev 8420)
+++ trunk/BOOK/chapter01/changelog.xml  2007-10-29 21:41:50 UTC (rev 8421)
@@ -40,6 +40,9 @@
       <para>2007-10-24</para>
       <itemizedlist>
         <listitem>
+          <para>[matthew] - Add a patch to fix a segfault in usb_id.</para>
+        </listitem>
+        <listitem>
           <para>[matthew] - Upgrade to Tcl-8.4.16. Fixes
           <ulink url="&lfs-ticket-root;2084">#2084</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml   2007-10-29 21:41:18 UTC (rev 8420)
+++ trunk/BOOK/chapter01/whatsnew.xml   2007-10-29 21:41:50 UTC (rev 8421)
@@ -217,6 +217,10 @@
     </listitem>
 
     <listitem>
+      <para>&udev-usbid-patch;</para>
+    </listitem>
+
+    <listitem>
       <para>&vim-fixes-patch;</para>
     </listitem>
 

Modified: trunk/BOOK/chapter06/udev.xml
===================================================================
--- trunk/BOOK/chapter06/udev.xml       2007-10-29 21:41:18 UTC (rev 8420)
+++ trunk/BOOK/chapter06/udev.xml       2007-10-29 21:41:50 UTC (rev 8421)
@@ -57,6 +57,11 @@
 ln -sv /proc/self/fd/2 /lib/udev/devices/stderr
 ln -sv /proc/kcore /lib/udev/devices/core</userinput></screen>
 
+    <para><command>usb_id</command> is known to segfault under certain kernel
+    configurations.  Fix the issue by applying the following patch:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i 
../&udev-usbid-patch;</userinput></screen>
+
     <para>Compile the package:</para>
 
 <screen><userinput remap="make">make EXTRAS="`echo 
extras/*/`"</userinput></screen>

Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent      2007-10-29 21:41:18 UTC (rev 8420)
+++ trunk/BOOK/patches.ent      2007-10-29 21:41:50 UTC (rev 8421)
@@ -103,6 +103,10 @@
 <!ENTITY texinfo-tempfile_fix-patch-md5 "559bda136a2ac7777ecb67511227af85">
 <!ENTITY texinfo-tempfile_fix-patch-size "2.2 KB">
 
+<!ENTITY udev-usbid-patch "udev-&udev-version;-usb_id-1.patch">
+<!ENTITY udev-usbid-md5 "247614818827422b99672ea8bf3909ec">
+<!ENTITY udev-usbid-patch-size "3.2 KB">
+
 <!ENTITY util-linux-cramfs-patch 
"util-linux-&util-linux-version;-cramfs-1.patch">
 <!ENTITY util-linux-cramfs-patch-md5 "1c3f40b30e12738eb7b66a35b7374572">
 <!ENTITY util-linux-cramfs-patch-size "2.8 KB">

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to