diff options
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r-- | chapter06/coreutils.xml | 13 |
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> |