aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/gawk.xml
diff options
context:
space:
mode:
authorArchaic <archaic@linuxfromscratch.org>2005-12-26 19:46:12 +0000
committerArchaic <archaic@linuxfromscratch.org>2005-12-26 19:46:12 +0000
commit94aa662138576c22deef1642b3b2b302ad075a82 (patch)
tree38766a292ed556718529449133b71b25138df9b8 /chapter06/gawk.xml
parent5536f7440f2f4a12782e8d741cbbba5f1c3cfea8 (diff)
Reverting UTF-8 changes until everything is in place.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7236 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/gawk.xml')
-rw-r--r--chapter06/gawk.xml16
1 files changed, 6 insertions, 10 deletions
diff --git a/chapter06/gawk.xml b/chapter06/gawk.xml
index d25196e41..41df7f965 100644
--- a/chapter06/gawk.xml
+++ b/chapter06/gawk.xml
@@ -28,8 +28,8 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
<sect2 role="installation">
<title>Installation of Gawk</title>
-<para>Under some circumstances, Gawk-&gawk-version; attempts to free a chunk
-of memory that was not allocated. This bug is fixed by the following patch:</para>
+<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>
@@ -37,15 +37,11 @@ of memory that was not allocated. This bug is fixed by the following patch:</par
<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>
-<para>Due to a bug in the <command>./configure</command> script, Gawk fails
-to detect certain aspects of locale support in glibc. This
-bug leads to, e.g., Gettext testsuite failures. Work around this issue
-by appending the missing macro definitions to <filename>config.h</filename>:</para>
+<para>The configure script doesn't detect some functionality correctly. The
+following commands correct this problem:</para>
-<screen><userinput>cat &gt;&gt;config.h &lt;&lt;"EOF"
-<literal>#define HAVE_LANGINFO_CODESET 1
-#define HAVE_LC_MESSAGES 1</literal>
-EOF</userinput></screen>
+<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>