[Clfs-commits] commit: r4349 - in /trunk: BOOK/ BOOK/introduction/common/ BOOK/materials/common/ BOOK/temp-system/64/ BOOK/temp-system/common/ BOOK/temp-system/multilib/ BOOK/temp-system/native/ BOOK/temp-system/native64/ patches/
svn at cross-lfs.org
svn at cross-lfs.org
Mon Jan 5 14:03:40 PST 2009
Author: jim
Date: Mon Jan 5 22:03:40 2009
New Revision: 4349
Log:
Added: File Cross Compile Patch to Temp-System
Added:
trunk/patches/file-4.26-cross_compile-1.patch
Modified:
trunk/BOOK/introduction/common/changelog.xml
trunk/BOOK/materials/common/patches.xml
trunk/BOOK/patches.ent
trunk/BOOK/temp-system/64/file.xml
trunk/BOOK/temp-system/common/file.xml
trunk/BOOK/temp-system/multilib/file.xml
trunk/BOOK/temp-system/native/file.xml
trunk/BOOK/temp-system/native64/file.xml
Modified: trunk/BOOK/introduction/common/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/common/changelog.xml (original)
+++ trunk/BOOK/introduction/common/changelog.xml Mon Jan 5 22:03:40 2009
@@ -44,6 +44,10 @@
</listitem>
<listitem>
<para>[Jim] - Updated Ncurses Patch to -3.</para>
+ </listitem>
+ <listitem>
+ <para>[Jim] - Added Patch to File Temp-System. File magic.mgc
+ under certain circumstances doesn't get created properly.</para>
</listitem>
</itemizedlist>
</listitem>
Modified: trunk/BOOK/materials/common/patches.xml
==============================================================================
--- trunk/BOOK/materials/common/patches.xml (original)
+++ trunk/BOOK/materials/common/patches.xml Mon Jan 5 22:03:40 2009
@@ -73,6 +73,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>GCC Branch Update Patch - <token>&gcc-branch_update-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink
Modified: trunk/BOOK/patches.ent
==============================================================================
--- trunk/BOOK/patches.ent (original)
+++ trunk/BOOK/patches.ent Mon Jan 5 22:03:40 2009
@@ -28,6 +28,10 @@
<!ENTITY expect-spawn-patch-md5 "7706e1e8238c72eed8dc905d6f3b6aa9">
<!ENTITY expect-spawn-patch-size "6.9 KB">
+<!ENTITY file-cross_compile-patch "file-&filet-version;-cross_compile-1.patch">
+<!ENTITY file-cross_compile-patch-md5 "17956303345b8514a9c2bdc3939a21e5">
+<!ENTITY file-cross_compile-patch-size "4 KB">
+
<!ENTITY gcc-branch_update-patch "gcc-&gcc-version;-branch_update-1.patch">
<!ENTITY gcc-branch_update-patch-md5 "e9e4236fa439ece67f02ab8377ee5811">
<!ENTITY gcc-branch_update-patch-size "812 KB">
Modified: trunk/BOOK/temp-system/64/file.xml
==============================================================================
--- trunk/BOOK/temp-system/64/file.xml (original)
+++ trunk/BOOK/temp-system/64/file.xml Mon Jan 5 22:03:40 2009
@@ -20,6 +20,14 @@
<sect2 role="installation">
<title>Installation of File</title>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../common/file.xml"
Modified: trunk/BOOK/temp-system/common/file.xml
==============================================================================
--- trunk/BOOK/temp-system/common/file.xml (original)
+++ trunk/BOOK/temp-system/common/file.xml Mon Jan 5 22:03:40 2009
@@ -20,6 +20,12 @@
<sect2 role="installation">
<title>Installation of File</title>
+
+ <para os="p1">The following patch will fix a compile issue that would prevent
+ a proper creation of magic.mgc file. This would show up as an error messsage.
+ "e;ERROR: file: File &file-version; supports only 6 version magic files. `/tools/share/file/magic.mgc' is version 2"e;:</para>
+
+<screen os="p2"><userinput>patch -Np1 -i ../&file-cross_compile-patch;</userinput></screen>
<para os="a">Prepare File for compilation:</para>
Modified: trunk/BOOK/temp-system/multilib/file.xml
==============================================================================
--- trunk/BOOK/temp-system/multilib/file.xml (original)
+++ trunk/BOOK/temp-system/multilib/file.xml Mon Jan 5 22:03:40 2009
@@ -20,6 +20,14 @@
<sect2 role="installation">
<title>Installation of File</title>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../common/file.xml"
Modified: trunk/BOOK/temp-system/native/file.xml
==============================================================================
--- trunk/BOOK/temp-system/native/file.xml (original)
+++ trunk/BOOK/temp-system/native/file.xml Mon Jan 5 22:03:40 2009
@@ -21,17 +21,35 @@
<sect2 role="installation">
<title>Installation of File</title>
- <para os="a">Prepare File for compilation:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='a'])"/>
<screen os="b"><userinput>./configure --prefix=/tools</userinput></screen>
- <para os="c">Compile the package:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='c'])"/>
-<screen os="d"><userinput>make</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='d'])"/>
- <para os="f">Install the package:</para>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='f'])"/>
-<screen os="g"><userinput>make install</userinput></screen>
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='g'])"/>
</sect2>
Modified: trunk/BOOK/temp-system/native64/file.xml
==============================================================================
--- trunk/BOOK/temp-system/native64/file.xml (original)
+++ trunk/BOOK/temp-system/native64/file.xml Mon Jan 5 22:03:40 2009
@@ -20,6 +20,14 @@
<sect2 role="installation">
<title>Installation of File</title>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='p1'])"/>
+
+ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
+ href="../common/file.xml"
+ xpointer="xpointer(//*[@os='p2'])"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
href="../common/file.xml"
More information about the Clfs-commits
mailing list