mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Upgrade to Zlib-1.2.6. Fixes #3009.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9723 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
956dfc8bde
commit
e3f07935fc
@ -40,6 +40,10 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>2012-01-30</para>
|
<para>2012-01-30</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[matthew] - Upgrade to Zlib-1.2.6. Fixes
|
||||||
|
<ulink url="&lfs-ticket-root;3009">#3009</ulink>.</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>[matthew] - Move Xz to before GRUB so that the latter can
|
<para>[matthew] - Move Xz to before GRUB so that the latter can
|
||||||
support compressed kernel images.</para>
|
support compressed kernel images.</para>
|
||||||
|
@ -208,9 +208,9 @@
|
|||||||
<!--<listitem>
|
<!--<listitem>
|
||||||
<para>XZ-Utils &xz-version;</para>
|
<para>XZ-Utils &xz-version;</para>
|
||||||
</listitem>-->
|
</listitem>-->
|
||||||
<!--<listitem>
|
<listitem>
|
||||||
<para>Zlib &zlib-version;</para>
|
<para>Zlib &zlib-version;</para>
|
||||||
</listitem>-->
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<!--<itemizedlist>
|
<!--<itemizedlist>
|
||||||
|
@ -41,28 +41,9 @@
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of Zlib</title>
|
<title>Installation of Zlib</title>
|
||||||
|
|
||||||
<para>First, fix a typo in the package header file:</para>
|
|
||||||
|
|
||||||
<screen><userinput remap="pre">sed -i 's/ifdef _LARGEFILE64_SOURCE/ifndef _LARGEFILE64_SOURCE/' zlib.h</userinput></screen>
|
|
||||||
|
|
||||||
<para>Prepare Zlib for compilation:</para>
|
<para>Prepare Zlib for compilation:</para>
|
||||||
|
|
||||||
<screen><userinput remap="configure">CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr</userinput></screen>
|
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
||||||
|
|
||||||
<variablelist>
|
|
||||||
<title>The meaning of the new configure environment variable:</title>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><envar>CFLAGS='-mstackrealign -fPIC -O3'</envar></term>
|
|
||||||
<listitem>
|
|
||||||
<para>Setting CFLAGS overrides the default optimization in the
|
|
||||||
package to prevent some run time errors. Note that the -mstackrealign
|
|
||||||
may cause build failures in non-Intel architecture systems.</para>
|
|
||||||
</listitem>
|
|
||||||
</varlistentry>
|
|
||||||
</variablelist>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<para>Compile the package:</para>
|
<para>Compile the package:</para>
|
||||||
|
|
||||||
|
@ -570,10 +570,10 @@
|
|||||||
<!ENTITY xz-ch6-du "13 MB">
|
<!ENTITY xz-ch6-du "13 MB">
|
||||||
<!ENTITY xz-ch6-sbu "0.4 SBU">
|
<!ENTITY xz-ch6-sbu "0.4 SBU">
|
||||||
|
|
||||||
<!ENTITY zlib-version "1.2.5">
|
<!ENTITY zlib-version "1.2.6">
|
||||||
<!ENTITY zlib-size "532 KB">
|
<!ENTITY zlib-size "490 KB">
|
||||||
<!ENTITY zlib-url "http://www.zlib.net/zlib-&zlib-version;.tar.bz2">
|
<!ENTITY zlib-url "http://www.zlib.net/zlib-&zlib-version;.tar.bz2">
|
||||||
<!ENTITY zlib-md5 "be1e89810e66150f5b0327984d8625a0">
|
<!ENTITY zlib-md5 "dc2cfa0d2313ca77224b4d932b2911e9">
|
||||||
<!ENTITY zlib-home "http://www.zlib.net/">
|
<!ENTITY zlib-home "http://www.zlib.net/">
|
||||||
<!ENTITY zlib-ch6-du "2.8 MB">
|
<!ENTITY zlib-ch6-du "2.8 MB">
|
||||||
<!ENTITY zlib-ch6-sbu "less than 0.1 SBU">
|
<!ENTITY zlib-ch6-sbu "less than 0.1 SBU">
|
||||||
|
Loading…
Reference in New Issue
Block a user