readded note about broken system kd.h to xorg-server

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6079 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
DJ Lucas 2006-05-14 20:13:08 +00:00
parent 608a225bd0
commit 31a934eb88
2 changed files with 17 additions and 1 deletions

View File

@ -56,7 +56,7 @@
Wrapper and cURL's test suite.</para> Wrapper and cURL's test suite.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>[dj] - Updated OpenOffice patch for system SeaMonkey and added <para>[dj] - Updated OpenOffice patch for system Firefox and added
OpenOffice to list of packages that will utilize system nss in OpenOffice to list of packages that will utilize system nss in
Mozilla product pages.</para> Mozilla product pages.</para>
</listitem> </listitem>

View File

@ -86,6 +86,22 @@
<screen><userinput>sed -i 's/ntri &amp; sizeof/ntri * sizeof/' render/mitri.c</userinput></screen> <screen><userinput>sed -i 's/ntri &amp; sizeof/ntri * sizeof/' render/mitri.c</userinput></screen>
<!-- To be removed if/when proposed glibc patch is added to LFS SVN
Leave in in for a couple of weeks with 'you may need' and a testcase
around it to save the support list silly questions. Should remove in
a couple of weeks -->
<para>Recent <application>Glibc</application> may have a problem with its
installed <filename>sys/kd.h</filename> file. This has recently been
fixed in LFS SVN. Execute the following commands to work around a
broken <filename>kd.h</filename> file. The commands will only make the
modification if needed:</para>
<screen><userinput>grep "__undef_LINUX" \
/usr/include/sys/kd.h 2&gt;&amp;1 &gt; /dev/null || \
sed -i.bak '/CONFIG_H/i #include &lt;linux/types.h&gt;' \
programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
<!-- End remove -->
<para>Install the server by running the following commands:</para> <para>Install the server by running the following commands:</para>
<screen><userinput>./configure $XORG_CONFIG \ <screen><userinput>./configure $XORG_CONFIG \