Author: matthew Date: 2005-09-24 09:47:31 -0600 (Sat, 24 Sep 2005) New Revision: 6890
Modified: trunk/BOOK/chapter01/changelog.xml trunk/BOOK/chapter03/patches.xml trunk/BOOK/chapter05/gawk.xml trunk/BOOK/chapter06/gawk.xml trunk/BOOK/general.ent trunk/BOOK/patches.ent Log: Upgrade to gawk-3.1.5 Modified: trunk/BOOK/chapter01/changelog.xml =================================================================== --- trunk/BOOK/chapter01/changelog.xml 2005-09-24 10:32:47 UTC (rev 6889) +++ trunk/BOOK/chapter01/changelog.xml 2005-09-24 15:47:31 UTC (rev 6890) @@ -41,7 +41,7 @@ <listitem><para>File &file-version;</para></listitem> <listitem><para>Findutils &findutils-version;</para></listitem> <!-- <listitem><para>Flex &flex-version;</para></listitem> --> -<!-- <listitem><para>Gawk &gawk-version;</para></listitem> --> +<listitem><para>Gawk &gawk-version;</para></listitem> <listitem><para>GCC &gcc-version;</para></listitem> <listitem><para>Gettext &gettext-version;</para></listitem> <listitem><para>Glibc &glibc-version;</para></listitem> @@ -90,6 +90,7 @@ <listitem><para>&bzip2-bzgrep-patch;</para></listitem> <listitem><para>&bzip2-docs-patch;</para></listitem> <listitem><para>&coreutils-echo-patch;</para></listitem> +<listitem><para>&gawk-segfault-patch;</para></listitem> <listitem><para>&gcc-specs-patch;</para></listitem> <listitem><para>&glibc-gcc4_elf-patch;</para></listitem> <listitem><para>&glibc-gcc4_iconvdata-patch;</para></listitem> @@ -121,6 +122,9 @@ </itemizedlist> </listitem> +<listitem><para>September 24, 2005 [matt]: Upgrade to gawk-3.1.5.</para> +</listitem> + <listitem><para>September 24, 2005 [matt]: Upgrade to man-1.6b.</para> </listitem> Modified: trunk/BOOK/chapter03/patches.xml =================================================================== --- trunk/BOOK/chapter03/patches.xml 2005-09-24 10:32:47 UTC (rev 6889) +++ trunk/BOOK/chapter03/patches.xml 2005-09-24 15:47:31 UTC (rev 6890) @@ -81,6 +81,13 @@ </varlistentry> <varlistentry> +<term>Gawk Segfault Patch - 1 KB:</term> +<listitem> +<para><ulink url="&patches-root;&gawk-segfault-patch;"/></para> +</listitem> +</varlistentry> + +<varlistentry> <term>GCC Specs Patch - 14 KB:</term> <listitem> <para><ulink url="&patches-root;&gcc-specs-patch;"/></para> Modified: trunk/BOOK/chapter05/gawk.xml =================================================================== --- trunk/BOOK/chapter05/gawk.xml 2005-09-24 10:32:47 UTC (rev 6889) +++ trunk/BOOK/chapter05/gawk.xml 2005-09-24 15:47:31 UTC (rev 6890) @@ -33,6 +33,12 @@ <screen><userinput>./configure --prefix=/tools</userinput></screen> +<para>The configure script doesn't detect some functionality correctly. The +following commands correct this problem:</para> + +<screen><userinput>echo "#define HAVE_LANGINFO_CODESET 1" >> config.h +echo "#define HAVE_LC_MESSAGES 1" >> config.h</userinput></screen> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> Modified: trunk/BOOK/chapter06/gawk.xml =================================================================== --- trunk/BOOK/chapter06/gawk.xml 2005-09-24 10:32:47 UTC (rev 6889) +++ trunk/BOOK/chapter06/gawk.xml 2005-09-24 15:47:31 UTC (rev 6890) @@ -30,10 +30,21 @@ <sect2 role="installation"> <title>Installation of Gawk</title> +<para>Patch Gawk to fix a bug which causes it to segfault when invoked on a +non-existent file:</para> + +<screen><userinput>patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen> + <para>Prepare Gawk for compilation:</para> <screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen> +<para>The configure script doesn't detect some functionality correctly. The +following commands correct this problem:</para> + +<screen><userinput>echo "#define HAVE_LANGINFO_CODESET 1" >> config.h +echo "#define HAVE_LC_MESSAGES 1" >> config.h</userinput></screen> + <para>Compile the package:</para> <screen><userinput>make</userinput></screen> Modified: trunk/BOOK/general.ent =================================================================== --- trunk/BOOK/general.ent 2005-09-24 10:32:47 UTC (rev 6889) +++ trunk/BOOK/general.ent 2005-09-24 15:47:31 UTC (rev 6890) @@ -39,7 +39,7 @@ <!ENTITY file-version "4.15"> <!ENTITY findutils-version "4.2.25"> <!ENTITY flex-version "2.5.31"> -<!ENTITY gawk-version "3.1.4"> +<!ENTITY gawk-version "3.1.5"> <!ENTITY gcc-version "4.0.1"> <!ENTITY gettext-version "0.14.5"> <!ENTITY glibc-version "2.3.5"> Modified: trunk/BOOK/patches.ent =================================================================== --- trunk/BOOK/patches.ent 2005-09-24 10:32:47 UTC (rev 6889) +++ trunk/BOOK/patches.ent 2005-09-24 15:47:31 UTC (rev 6890) @@ -15,6 +15,8 @@ <!ENTITY flex-fixes-patch "flex-&flex-version;-debian_fixes-3.patch"> +<!ENTITY gawk-segfault-patch "gawk-&gawk-version;-segfault_fix-1.patch"> + <!ENTITY gcc-specs-patch "gcc-&gcc-version;-specs-1.patch"> <!ENTITY glibc-testfix-patch "glibc-&glibc-version;-fix_test-1.patch"> -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
