Parcourir la source

Upgrade to Zlib-1.2.4. Fixes #2606.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9229 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess il y a 15 ans
Parent
commit
0d9018b23c
4 fichiers modifiés avec 10 ajouts et 33 suppressions
  1. 4 0
      chapter01/changelog.xml
  2. 2 2
      chapter01/whatsnew.xml
  3. 1 28
      chapter06/zlib.xml
  4. 3 3
      packages.ent

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <para>2010-03-18</para>
       <itemizedlist>
+        <listitem>
+          <para>[matthew] Upgrade to Zlib-1.2.4. Fixes
+          <ulink url="&lfs-ticket-root;2606">#2606</ulink>.</para>
+        </listitem>
         <listitem>
           <para>[matthew] Upgrade to Tar-1.23. Fixes
           <ulink url="&lfs-ticket-root;2603">#2603</ulink>.</para>

+ 2 - 2
chapter01/whatsnew.xml

@@ -193,9 +193,9 @@
     <!--<listitem>
       <para>Vim &vim-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Zlib &zlib-version;</para>
-    </listitem>-->
+    </listitem>
   </itemizedlist>
 
   <!--<itemizedlist>

+ 1 - 28
chapter06/zlib.xml

@@ -41,18 +41,9 @@
   <sect2 role="installation">
     <title>Installation of Zlib</title>
 
-    <note>
-      <para>Zlib is known to build its shared library incorrectly if
-      <envar>CFLAGS</envar> is specified in the environment. If using
-      a specified <envar>CFLAGS</envar> variable, be sure to add the
-      <parameter>-fPIC</parameter> directive to the <envar>CFLAGS</envar>
-      variable for the duration of the configure command below, then
-      remove it when building the static library.</para>
-    </note>
-
     <para>Prepare Zlib for building the dynamic library:</para>
 
-<screen><userinput remap="configure">./configure --prefix=/usr --shared --libdir=/lib</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --libdir=/lib</userinput></screen>
 
     <para>Compile the package:</para>
 
@@ -74,24 +65,6 @@
 <screen><userinput remap="install">rm -v /lib/libz.so
 ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so</userinput></screen>
 
-    <para>Build the static library:</para>
-
-<screen><userinput remap="make">make clean
-./configure --prefix=/usr
-make</userinput></screen>
-
-    <para>To test the results again, issue:</para>
-
-<screen><userinput remap="test">make check</userinput></screen>
-
-    <para>Install the static library:</para>
-
-<screen><userinput remap="install">make install</userinput></screen>
-
-    <para>Fix the permissions on the static library:</para>
-
-<screen><userinput remap="install">chmod -v 644 /usr/lib/libz.a</userinput></screen>
-
   </sect2>
 
   <sect2 id="contents-zlib" role="content">

+ 3 - 3
packages.ent

@@ -539,10 +539,10 @@
 <!ENTITY vim-lang-md5 "d8884786979e0e520c112faf2e176f05">
 <!ENTITY vim-lang-home "http://www.vim.org">
 
-<!ENTITY zlib-version "1.2.3">
-<!ENTITY zlib-size "415 KB">
+<!ENTITY zlib-version "1.2.4">
+<!ENTITY zlib-size "472 KB">
 <!ENTITY zlib-url "http://www.zlib.net/zlib-&zlib-version;.tar.bz2">
-<!ENTITY zlib-md5 "dee233bf288ee795ac96a98cc2e369b6">
+<!ENTITY zlib-md5 "763c6a0b4ad1cdf5549e3ab3f140f4cb">
 <!ENTITY zlib-home "http://www.zlib.net/">
 <!ENTITY zlib-ch6-du "2.8 MB">
 <!ENTITY zlib-ch6-sbu "less than 0.1 SBU">