Author: matthew
Date: 2012-01-30 14:20:31 -0700 (Mon, 30 Jan 2012)
New Revision: 9723

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter01/whatsnew.xml
   trunk/BOOK/chapter06/zlib.xml
   trunk/BOOK/packages.ent
Log:
Upgrade to Zlib-1.2.6. Fixes #3009.

Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2012-01-30 21:19:48 UTC (rev 9722)
+++ trunk/BOOK/chapter01/changelog.xml  2012-01-30 21:20:31 UTC (rev 9723)
@@ -41,6 +41,10 @@
       <para>2012-01-30</para>
       <itemizedlist>
         <listitem>
+          <para>[matthew] - Upgrade to Zlib-1.2.6. Fixes
+          <ulink url="&lfs-ticket-root;3009">#3009</ulink>.</para>
+        </listitem>
+        <listitem>
           <para>[matthew] - Move Xz to before GRUB so that the latter can
           support compressed kernel images.</para>
         </listitem>

Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml   2012-01-30 21:19:48 UTC (rev 9722)
+++ trunk/BOOK/chapter01/whatsnew.xml   2012-01-30 21:20:31 UTC (rev 9723)
@@ -208,9 +208,9 @@
     <!--<listitem>
       <para>XZ-Utils &xz-version;</para>
     </listitem>-->
-    <!--<listitem>
+    <listitem>
       <para>Zlib &zlib-version;</para>
-    </listitem>-->
+    </listitem>
   </itemizedlist>
 
   <!--<itemizedlist>

Modified: trunk/BOOK/chapter06/zlib.xml
===================================================================
--- trunk/BOOK/chapter06/zlib.xml       2012-01-30 21:19:48 UTC (rev 9722)
+++ trunk/BOOK/chapter06/zlib.xml       2012-01-30 21:20:31 UTC (rev 9723)
@@ -41,29 +41,10 @@
   <sect2 role="installation">
     <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>
 
-<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>
 
 <screen><userinput remap="make">make</userinput></screen>

Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent     2012-01-30 21:19:48 UTC (rev 9722)
+++ trunk/BOOK/packages.ent     2012-01-30 21:20:31 UTC (rev 9723)
@@ -570,10 +570,10 @@
 <!ENTITY xz-ch6-du "13 MB">
 <!ENTITY xz-ch6-sbu "0.4 SBU">
 
-<!ENTITY zlib-version "1.2.5">
-<!ENTITY zlib-size "532 KB">
+<!ENTITY zlib-version "1.2.6">
+<!ENTITY zlib-size "490 KB">
 <!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-ch6-du "2.8 MB">
 <!ENTITY zlib-ch6-sbu "less than 0.1 SBU">

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to