[Clfs-commits] commit: r4862 - in /branches/clfs-sysroot/BOOK: final-system/common/file.xml materials/common/patches.xml patches.ent

svn at cross-lfs.org svn at cross-lfs.org
Sun Mar 15 18:46:00 PDT 2009


Author: jciccone
Date: Mon Mar 16 01:46:00 2009
New Revision: 4862

Log:
Add file cross-compilation patch.

Modified:
    branches/clfs-sysroot/BOOK/final-system/common/file.xml
    branches/clfs-sysroot/BOOK/materials/common/patches.xml
    branches/clfs-sysroot/BOOK/patches.ent

Modified: branches/clfs-sysroot/BOOK/final-system/common/file.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/final-system/common/file.xml (original)
+++ branches/clfs-sysroot/BOOK/final-system/common/file.xml Mon Mar 16 01:46:00 2009
@@ -32,6 +32,14 @@
     <para os="p3">The following patch will add support for new compressors like XZ Utils:</para>
 
 <screen os="p4"><userinput>patch -Np1 -i ../&file-new_compressors-patch;</userinput></screen>
+
+    <para os="ap1">The following patch will fix a compile issue that would prevent
+    a proper creation of the <filename>magic.mgc</filename> file. This would
+    show up as an error messsage.
+    <computeroutput>ERROR: file: File &file-version; supports only 6 version
+    magic files. `/tools/share/file/magic.mgc' is version 2</computeroutput>:</para>
+
+<screen os="ap2"><userinput>patch -Np1 -i ../&file-cross_compile-patch;</userinput></screen>
 
     <para os="a">Prepare File for compilation:</para>
 

Modified: branches/clfs-sysroot/BOOK/materials/common/patches.xml
==============================================================================
--- branches/clfs-sysroot/BOOK/materials/common/patches.xml (original)
+++ branches/clfs-sysroot/BOOK/materials/common/patches.xml Mon Mar 16 01:46:00 2009
@@ -64,6 +64,15 @@
     </varlistentry>
 
     <varlistentry>
+      <term>File Cross-Compile Patch - <token>&file-cross_compile-patch-size;</token>:</term>
+      <listitem>
+        <para>Download: <ulink
+        url="&patches-root;&file-cross_compile-patch;"/></para>
+        <para>MD5 sum: <literal>&file-cross_compile-patch-md5;</literal></para>
+      </listitem>
+    </varlistentry>
+
+    <varlistentry>
       <term>File Fixes Patch - <token>&file-fixes-patch-size;</token>:</term>
       <listitem>
         <para>Download: <ulink

Modified: branches/clfs-sysroot/BOOK/patches.ent
==============================================================================
--- branches/clfs-sysroot/BOOK/patches.ent (original)
+++ branches/clfs-sysroot/BOOK/patches.ent Mon Mar 16 01:46:00 2009
@@ -23,6 +23,10 @@
 <!ENTITY diffutils-i18n-patch "diffutils-&diffutils-version;-i18n-1.patch">
 <!ENTITY diffutils-i18n-patch-md5 "2e176c390bf4dca2fb088e0a16261a96">
 <!ENTITY diffutils-i18n-patch-size "17 KB">
+
+<!ENTITY file-cross_compile-patch "file-&file-version;-cross_compile-1.patch">
+<!ENTITY file-cross_compile-patch-md5 "17956303345b8514a9c2bdc3939a21e5">
+<!ENTITY file-cross_compile-patch-size "1 KB">
 
 <!ENTITY file-fixes-patch "file-&file-version;-fixes-2.patch">
 <!ENTITY file-fixes-patch-md5 "23725f364441a9b1f4b244b2b3cdcd27">




More information about the Clfs-commits mailing list