Changeset 140a5c55


Ignore:
Timestamp:
05/13/2006 05:22:14 PM (18 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
e2c98cc6
Parents:
db8620de
Message:

Added a grep and sed to fix compiling against some recent versions of glibc

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6067 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/xfree86.xml

    rdb8620de r140a5c55  
    176176
    177177    <sect3>
     178      <title>Glibc build fix</title>
     179
     180<!-- To be removed if/when proposed glibc patch is added to LFS SVN
     181     Leave in in for a couple of weeks with 'you may need' and a testcase
     182     around it to save the support list silly questions.  Should remove in
     183     a couple of weeks -->
     184      <para>Xfree86 may have a problem with <filename>sys/kd.h</filename>
     185      installed with some recent versions of <application>Glibc</application>.
     186      This has recently been fixed in LFS SVN.  Execute the
     187      following commands to work around a broken <filename>kd.h</filename>
     188      file. The <command>grep</command> command is to ensure the modification
     189      is only made if it is needed. Run these commands from within the
     190      <filename class="directory">xc</filename> folder:</para>
     191
     192<screen><userinput>grep "__undef_LINUX" \
     193    /usr/include/sys/kd.h 2&gt;&amp;1 &gt; /dev/null || \
     194    sed -i.bak '/X.h/i #include &lt;linux/types.h&gt;' \
     195    programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c</userinput></screen>
     196<!-- End remove -->
     197
     198    </sect3>
     199    <sect3>
     200
    178201      <title>Setting Up a Shadow Directory</title>
    179202
Note: See TracChangeset for help on using the changeset viewer.