瀏覽代碼

Add gettext upstream patch

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8886 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 16 年之前
父節點
當前提交
0b258b4ae8
共有 5 個文件被更改,包括 26 次插入1 次删除
  1. 6 1
      chapter01/changelog.xml
  2. 4 0
      chapter01/whatsnew.xml
  3. 8 0
      chapter03/patches.xml
  4. 4 0
      chapter06/gettext.xml
  5. 4 0
      patches.ent

+ 6 - 1
chapter01/changelog.xml

@@ -40,6 +40,11 @@
     <listitem>
       <para>2009-05-17</para>
       <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add gettext upstream patches.
+          Fixes
+          <ulink url="&lfs-ticket-root;2264">#2264</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[bdubbs] - Add optimization (-O3 and -pipe) to
           glibc in Chapter 6.
@@ -54,7 +59,7 @@
       <itemizedlist>
         <listitem>
           <para>[bdubbs] - Remove reference to watch program not
-          supporting UTF-8 locales in the Bash Sheel Startup
+          supporting UTF-8 locales in the Bash Shell Startup
           Files section.
           Fixes
           <ulink url="&lfs-ticket-root;2310">#2310</ulink>.</para>

+ 4 - 0
chapter01/whatsnew.xml

@@ -228,6 +228,10 @@
       <para>&gcc-startfiles-patch;</para>
     </listitem>
 
+    <listitem>
+      <para>&gettext-upstream_fixes-patch;</para>
+    </listitem>
+
     <listitem>
       <para>&glibc-ildoubl-test-fix-patch;</para>
     </listitem>

+ 8 - 0
chapter03/patches.xml

@@ -106,6 +106,14 @@
       </listitem>
     </varlistentry>
 
+    <varlistentry>
+      <term>Gettext Upstream Fix Patch - <token>&gettext-upstream_fixes-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink url="&patches-root;&gettext-upstream_fixes-patch;"/></para>
+        <para>MD5 sum: <literal>&gettext-upstream_fixes-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
     <varlistentry>
       <term>Glibc Ildoubl Test Fix Patch - <token>&glibc-ildoubl-test-fix-patch-size;</token>:</term>
       <listitem>

+ 4 - 0
chapter06/gettext.xml

@@ -43,6 +43,10 @@
   <sect2 role="installation">
     <title>Installation of Gettext</title>
 
+    <para>Apply a patch that fixes file permissions and ownership:</para>
+
+<screen><userinput remap="pre">patch -Np1 -i ../&gettext-upstream_fixes-patch;</userinput></screen>
+
     <para>Prepare Gettext for compilation:</para>
 
 <screen><userinput remap="configure">./configure --prefix=/usr \

+ 4 - 0
patches.ent

@@ -55,6 +55,10 @@
 <!ENTITY gcc-startfiles-patch-md5 "799ef1971350d2e3c794f2123f247cc6">
 <!ENTITY gcc-startfiles-patch-size "1.5 KB">
 
+<!ENTITY gettext-upstream_fixes-patch "gettext-&gettext-version;-upstream_fixes-1.patch">
+<!ENTITY gettext-upstream_fixes-patch-md5 "1907197e133f7419d8d78e18615f9467">
+<!ENTITY gettext-upstream_fixes-patch-size "1.7 KB">
+
 <!ENTITY glibc-ildoubl-test-fix-patch "glibc-&glibc-version;-ildoubl_test-1.patch">
 <!ENTITY glibc-ildoubl-test-fix-patch-md5 "4dc864a487eee8426413542591d19edb">
 <!ENTITY glibc-ildoubl-test-fix-patch-size "1.0 KB">