Ticket #1731: lfs-r7782-glibc_2.4.patch
File lfs-r7782-glibc_2.4.patch, 5.2 KB (added by , 18 years ago) |
---|
-
chapter03/patches.xml
107 107 </varlistentry> 108 108 109 109 <varlistentry> 110 <term>Glibc Linux Types Patch - <token>&glibc-linux_types-patch-size;</token>:</term>110 <term>Glibc Iconv Patch - <token>&glibc-iconv-patch-size;</token>:</term> 111 111 <listitem> 112 <para>Download: <ulink url="&patches-root;&glibc- linux_types-patch;"/></para>113 <para>MD5 sum: <literal>&glibc- linux_types-patch-md5;</literal></para>112 <para>Download: <ulink url="&patches-root;&glibc-iconv-patch;"/></para> 113 <para>MD5 sum: <literal>&glibc-iconv-patch-md5;</literal></para> 114 114 </listitem> 115 115 </varlistentry> 116 116 117 117 <varlistentry> 118 <term>Glibc Inotify Syscall Functions Patch - <token>&glibc-inotify-patch-size;</token>:</term>119 <listitem>120 <para>Download: <ulink url="&patches-root;&glibc-inotify-patch;"/></para>121 <para>MD5 sum: <literal>&glibc-inotify-patch-md5;</literal></para>122 </listitem>123 </varlistentry>124 125 <varlistentry>126 118 <term>Grep RedHat Fixes Patch - <token>&grep-fixes-patch-size;</token>:</term> 127 119 <listitem> 128 120 <para>Download: <ulink url="&patches-root;&grep-fixes-patch;"/></para> -
chapter06/glibc.xml
63 63 64 64 <screen><userinput>tar -xf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen> 65 65 66 <para> Apply the following patch to fix build errors in packages that include67 <filename class="headerfile">linux/types.h</filename> after <filename68 class="headerfile">sys/kd.h</filename>:</para>66 <para>Glibc's Iconv has a bug that may prevent a package like samba from 67 starting when <envar>LC_ALL</envar> is not set. The following patch fixes 68 this issue:</para> 69 69 70 <screen><userinput>patch -Np1 -i ../&glibc- linux_types-patch;</userinput></screen>70 <screen><userinput>patch -Np1 -i ../&glibc-iconv-patch;</userinput></screen> 71 71 72 <para>Add a header to define syscall functions for the inotify feature73 available in newer Linux kernels:</para>74 75 <screen><userinput>patch -Np1 -i ../&glibc-inotify-patch;</userinput></screen>76 77 72 <para>In the vi_VN.TCVN locale, <command>bash</command> enters an infinite loop 78 73 at startup. It is unknown whether this is a <command>bash</command> bug or a 79 74 Glibc problem. Disable installation of this locale in order to avoid the … … 172 167 173 168 <screen><userinput>make install</userinput></screen> 174 169 175 <para>Install the inotify header to the system header location:</para>176 177 <screen><userinput>cp -v ../glibc-&glibc-version;/sysdeps/unix/sysv/linux/inotify.h \178 /usr/include/sys</userinput></screen>179 180 170 <para>The locales that can make the system respond in a different language 181 171 were not installed by the above command. None of the locales are required, 182 172 but if some of them are missing, testsuites of the future packages would -
packages.ent
190 190 <!ENTITY gettext-ch6-du "65 MB"> 191 191 <!ENTITY gettext-ch6-sbu "1 SBU"> 192 192 193 <!ENTITY glibc-version "2. 3.6">194 <!ENTITY glibc-size "1 3,687KB">193 <!ENTITY glibc-version "2.4"> 194 <!ENTITY glibc-size "14,868 KB"> 195 195 <!ENTITY glibc-url "&gnu;glibc/glibc-&glibc-version;.tar.bz2"> 196 <!ENTITY glibc-md5 " bfdce99f82d6dbcb64b7f11c05d6bc96">196 <!ENTITY glibc-md5 "7e9a88dcd41fbc53801dbe5bdacaf245"> 197 197 <!ENTITY glibc-home "&gnu-software;libc/"> 198 198 <!ENTITY glibc-ch5-du "325 MB"> 199 199 <!ENTITY glibc-ch5-sbu "6 SBU"> 200 200 <!ENTITY glibc-ch6-du "510 MB testsuite included"> 201 201 <!ENTITY glibc-ch6-sbu "13.5 SBU testsuite included"> 202 202 <!ENTITY glibc-libidn-version "&glibc-version;"> 203 <!ENTITY glibc-libidn-size " 99KB">203 <!ENTITY glibc-libidn-size "104 KB"> 204 204 <!ENTITY glibc-libidn-url "&gnu;glibc/glibc-libidn-&glibc-libidn-version;.tar.bz2"> 205 <!ENTITY glibc-libidn-md5 " 49dbe06ce830fc73874d6b38bdc5b4db">205 <!ENTITY glibc-libidn-md5 "e2d892b40d654c523ab26a26b7dd86a1"> 206 206 <!ENTITY glibc-libidn-home " "> 207 207 208 208 <!ENTITY grep-version "2.5.1a"> -
patches.ent
53 53 <!ENTITY gcc-specs-patch-size "14.8 KB"> 54 54 55 55 56 <!ENTITY glibc- linux_types-patch "glibc-&glibc-version;-linux_types-1.patch">57 <!ENTITY glibc- linux_types-patch-md5 "30ea59ae747478aa9315455543b5bb43">58 <!ENTITY glibc- linux_types-patch-size "1.1KB">56 <!ENTITY glibc-iconv-patch "glibc-&glibc-version;-iconv-1.patch"> 57 <!ENTITY glibc-iconv-patch-md5 "9c8e681226ccf7a1f25c6467674f915e"> 58 <!ENTITY glibc-iconv-patch-size "4 KB"> 59 59 60 <!ENTITY glibc-inotify-patch "glibc-&glibc-version;-inotify-1.patch">61 <!ENTITY glibc-inotify-patch-md5 "94f6d26ae50a0fe6285530fdbae90bbf">62 <!ENTITY glibc-inotify-patch-size "1.4 KB">63 60 64 65 61 <!ENTITY grep-fixes-patch "grep-&grep-version;-redhat_fixes-2.patch"> 66 62 <!ENTITY grep-fixes-patch-md5 "2c67910be2d0a54714f63ce350e6d8a6"> 67 63 <!ENTITY grep-fixes-patch-size "55 KB">