Add a patch to fix a segfault in usb_id.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8421 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2007-10-29 21:41:50 +00:00
parent 1129dbddc5
commit 408d21fff1
4 changed files with 16 additions and 0 deletions

View File

@ -39,6 +39,9 @@
<listitem>
<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>

View File

@ -216,6 +216,10 @@
<para>&readline-fixes-patch;</para>
</listitem>
<listitem>
<para>&udev-usbid-patch;</para>
</listitem>
<listitem>
<para>&vim-fixes-patch;</para>
</listitem>

View File

@ -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>

View File

@ -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">