aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-04-03 21:35:16 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-04-03 21:35:16 +0000
commit8335e5c48b428d6269047354f29112bca77e9f63 (patch)
treea491c92162061307f2c04889b7027570c01ee690 /chapter06
parent6ae6f879f27a30da43830ec34315c968049607dc (diff)
Upgrade to Coreutils-8.16. Fixes #3048.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9799 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/coreutils.xml13
1 files changed, 5 insertions, 8 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 1d0edba88..e5513ee65 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -41,14 +41,10 @@
<sect2 role="installation">
<title>Installation of Coreutils</title>
- <para>A known issue with the <command>uname</command> program from
- this package is that the <parameter>-p</parameter> switch always
- returns <computeroutput>unknown</computeroutput>. The following patch
- fixes this behavior for Intel architectures:</para>
+ <para>Fix a bug in a test case:</para>
-<screen><userinput remap="pre">case `uname -m` in
- i?86 | x86_64) patch -Np1 -i ../&coreutils-uname-patch; ;;
-esac</userinput></screen>
+<screen><userinput remap="pre">sed -i -e 's/! isatty/isatty/' \
+ -e '45i\ || errno == ENOENT' gnulib-tests/test-getlogin.c</userinput></screen>
<para>POSIX requires that programs from Coreutils recognize character
boundaries correctly even in multibyte locales. The following patch
@@ -64,7 +60,8 @@ esac</userinput></screen>
<para>Now prepare Coreutils for compilation:</para>
-<screen><userinput remap="configure">./configure --prefix=/usr \
+<screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1 ./configure \
+ --prefix=/usr \
--libexecdir=/usr/lib \
--enable-no-install-program=kill,uptime</userinput></screen>