From ed393bac3dc82373e622ef72dd770dd84e80dbc3 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sat, 24 Sep 2005 15:47:31 +0000 Subject: Upgrade to gawk-3.1.5 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6890 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 6 +++++- chapter03/patches.xml | 7 +++++++ chapter05/gawk.xml | 6 ++++++ chapter06/gawk.xml | 11 +++++++++++ general.ent | 2 +- patches.ent | 2 ++ 6 files changed, 32 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 049627925..1e325aaca 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -41,7 +41,7 @@ First a summary, then a detailed log. File &file-version; Findutils &findutils-version; - +Gawk &gawk-version; GCC &gcc-version; Gettext &gettext-version; Glibc &glibc-version; @@ -90,6 +90,7 @@ First a summary, then a detailed log. &bzip2-bzgrep-patch; &bzip2-docs-patch; &coreutils-echo-patch; +&gawk-segfault-patch; &gcc-specs-patch; &glibc-gcc4_elf-patch; &glibc-gcc4_iconvdata-patch; @@ -121,6 +122,9 @@ First a summary, then a detailed log. +September 24, 2005 [matt]: Upgrade to gawk-3.1.5. + + September 24, 2005 [matt]: Upgrade to man-1.6b. diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 557f47e33..f92e6dc5c 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -80,6 +80,13 @@ needed to build an LFS system: + +Gawk Segfault Patch - 1 KB: + + + + + GCC Specs Patch - 14 KB: diff --git a/chapter05/gawk.xml b/chapter05/gawk.xml index 675d5e077..ef363424e 100644 --- a/chapter05/gawk.xml +++ b/chapter05/gawk.xml @@ -33,6 +33,12 @@ ./configure --prefix=/tools +The configure script doesn't detect some functionality correctly. The +following commands correct this problem: + +echo "#define HAVE_LANGINFO_CODESET 1" >> config.h +echo "#define HAVE_LC_MESSAGES 1" >> config.h + Compile the package: make diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml index 2f361a9d6..6430c7a3f 100644 --- a/chapter06/gawk.xml +++ b/chapter06/gawk.xml @@ -30,10 +30,21 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed Installation of Gawk +Patch Gawk to fix a bug which causes it to segfault when invoked on a +non-existent file: + +patch -Np1 -i ../&gawk-segfault-patch; + Prepare Gawk for compilation: ./configure --prefix=/usr --libexecdir=/usr/lib +The configure script doesn't detect some functionality correctly. The +following commands correct this problem: + +echo "#define HAVE_LANGINFO_CODESET 1" >> config.h +echo "#define HAVE_LC_MESSAGES 1" >> config.h + Compile the package: make diff --git a/general.ent b/general.ent index c4ce10037..d86352b40 100644 --- a/general.ent +++ b/general.ent @@ -39,7 +39,7 @@ - + diff --git a/patches.ent b/patches.ent index 2a6b0c776..c357807d0 100644 --- a/patches.ent +++ b/patches.ent @@ -15,6 +15,8 @@ + + -- cgit v1.2.3-54-g00ecf