| 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
 | 
|---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
 | 
|---|
| 3 |   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
 | 
|---|
| 4 |   <!ENTITY % general-entities SYSTEM "../../general.ent">
 | 
|---|
| 5 |   %general-entities;
 | 
|---|
| 6 | ]>
 | 
|---|
| 7 | 
 | 
|---|
| 8 | <sect1 id="ch-temp-system-patch" role="wrap">
 | 
|---|
| 9 |   <?dbhtml filename="patch.html"?>
 | 
|---|
| 10 | 
 | 
|---|
| 11 |   <title>Patch-&patch-version;</title>
 | 
|---|
| 12 | 
 | 
|---|
| 13 |   <indexterm zone="ch-temp-system-patch">
 | 
|---|
| 14 |     <primary sortas="a-Patch">Patch</primary>
 | 
|---|
| 15 |     <secondary>temporary system</secondary>
 | 
|---|
| 16 |   </indexterm>
 | 
|---|
| 17 | 
 | 
|---|
| 18 |   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
 | 
|---|
| 19 |   href="../../final-system/common/patch.xml"
 | 
|---|
| 20 |   xpointer="xpointer(//*[@role='package'])"/>
 | 
|---|
| 21 | 
 | 
|---|
| 22 |   <sect2 role="installation">
 | 
|---|
| 23 |     <title>Installation of Patch</title>
 | 
|---|
| 24 | 
 | 
|---|
| 25 |     <para os="cc1">When cross-compiling configure cannot properly detect the
 | 
|---|
| 26 |     existance of certain features. Override this behaviour:</para>
 | 
|---|
| 27 | 
 | 
|---|
| 28 | <screen os="cc2"><userinput>echo "ac_cv_func_strnlen_working=yes" > config.cache</userinput></screen>
 | 
|---|
| 29 | 
 | 
|---|
| 30 |     <para os="a">Prepare Patch for compilation:</para>
 | 
|---|
| 31 | 
 | 
|---|
| 32 | <screen os="b"><userinput>./configure --prefix=/tools \
 | 
|---|
| 33 |     --build=${CLFS_HOST} --host=${CLFS_TARGET} \
 | 
|---|
| 34 |     --cache-file=config.cache</userinput></screen>
 | 
|---|
| 35 | 
 | 
|---|
| 36 |     <para os="c">Compile the package:</para>
 | 
|---|
| 37 | 
 | 
|---|
| 38 | <screen os="d"><userinput>make</userinput></screen>
 | 
|---|
| 39 | 
 | 
|---|
| 40 |     <para os="e">Install the package:</para>
 | 
|---|
| 41 | 
 | 
|---|
| 42 | <screen os="f"><userinput>make install</userinput></screen>
 | 
|---|
| 43 | 
 | 
|---|
| 44 |   </sect2>
 | 
|---|
| 45 | 
 | 
|---|
| 46 |   <sect2 role="content">
 | 
|---|
| 47 |     <title/>
 | 
|---|
| 48 | 
 | 
|---|
| 49 |     <para>Details on this package are located in <xref
 | 
|---|
| 50 |     linkend="contents-patch" role="."/></para>
 | 
|---|
| 51 | 
 | 
|---|
| 52 |   </sect2>
 | 
|---|
| 53 | 
 | 
|---|
| 54 | </sect1>
 | 
|---|