Ticket #3499: glibc.patch

File glibc.patch, 3.3 KB (added by Armin, 11 years ago)
  • chapter03/patches.xml

     
    4343    </varlistentry>
    4444
    4545    <varlistentry>
     46      <term>Glibc FHS Patch - <token>&glibc-fhs-patch-size;</token>:</term>
     47      <listitem>
     48        <para>Download: <ulink url="&patches-root;&glibc-fhs-patch;"/></para>
     49        <para>MD5 sum: <literal>&glibc-fhs-patch-md5;</literal></para>
     50      </listitem>
     51    </varlistentry>
     52
     53    <varlistentry>
    4654      <term>Kbd Backspace/Delete Fix Patch - <token>&kbd-backspace-patch-size;</token>:</term>
    4755      <listitem>
    4856        <para>Download: <ulink url="&patches-root;&kbd-backspace-patch;"/></para>
  • chapter06/glibc.xml

     
    6565    Glibc autoconf tests would give false results and defeat the goal
    6666    of achieving a clean build.</para>
    6767
     68    <para>Some of the Glibc programs use non-FHS compilant
     69    <filename class="directory">/var/db</filename> directory to store
     70    their runtime data. Apply the following patch to make such programs
     71    store their runtime data in the FHS-compliant locations:</para>
     72
     73<screen><userinput remap="pre">patch -Np1 -i ../&glibc-fhs-patch;</userinput></screen>
     74
    6875    <para>The Glibc documentation recommends building Glibc outside of the source
    6976    directory in a dedicated build directory:</para>
    7077
     
    168175
    169176<screen><userinput remap="install">make install</userinput></screen>
    170177
     178    <para>Install the configuration file and runtime directory for
     179    <command>nscd</command>:</para>
     180
     181<screen><userinput remap="install">cp -v ../glibc-&glibc-version;/nscd/nscd.conf /etc/nscd.conf
     182mkdir -pv /var/cache/nscd</userinput></screen>
     183
    171184    <para>The locales that can make the system respond in a different language
    172185    were not installed by the above command. None of the locales are required,
    173186    but if some of them are missing, test suites of the future packages would
     
    413426        /usr/include/netipx, /usr/include/netiucv, /usr/include/netpacket,
    414427        /usr/include/netrom, /usr/include/netrose, /usr/include/nfs,
    415428        /usr/include/protocols, /usr/include/rpc, /usr/include/rpcsvc,
    416         /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/glibc,
    417         /usr/lib/locale, /usr/share/i18n, /usr/share/zoneinfo, /var/db</seg>
     429        /usr/include/sys, /usr/lib/audit, /usr/lib/gconv, /usr/lib/locale,
     430        /usr/libexec/getconf, /usr/share/i18n, /usr/share/zoneinfo,
     431        /var/cache/nscd, and /var/lib/nss_db</seg>
    418432      </seglistitem>
    419433    </segmentedlist>
    420434
  • patches.ent

     
    1414<!ENTITY coreutils-i18n-patch-md5 "54c99871cd0ca20f29bdc9462e27f0df">
    1515<!ENTITY coreutils-i18n-patch-size "140 KB">
    1616
     17<!ENTITY glibc-fhs-patch "glibc-&glibc-version;-fhs-1.patch">
     18<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
     19<!ENTITY glibc-fhs-patch-size "2.8 KB">
     20
    1721<!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch">
    1822<!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895">
    1923<!ENTITY kbd-backspace-patch-size "12 KB">