aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml3
-rw-r--r--chapter01/whatsnew.xml4
-rw-r--r--chapter06/udev.xml5
-rw-r--r--patches.ent4
4 files changed, 16 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index b428b6fc0..646772d28 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -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>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index dfa033ad3..f0cfcbae6 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -217,6 +217,10 @@
</listitem>
<listitem>
+ <para>&udev-usbid-patch;</para>
+ </listitem>
+
+ <listitem>
<para>&vim-fixes-patch;</para>
</listitem>
diff --git a/chapter06/udev.xml b/chapter06/udev.xml
index 6f7b15b7f..8d7e820ae 100644
--- a/chapter06/udev.xml
+++ b/chapter06/udev.xml
@@ -57,6 +57,11 @@ ln -sv /proc/self/fd/1 /lib/udev/devices/stdout
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>
diff --git a/patches.ent b/patches.ent
index 989879a98..f23fa3b5f 100644
--- a/patches.ent
+++ b/patches.ent
@@ -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">