aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/coreutils.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/coreutils.xml')
-rw-r--r--chapter05/coreutils.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/chapter05/coreutils.xml b/chapter05/coreutils.xml
index 8d367b1ba..e52e60d85 100644
--- a/chapter05/coreutils.xml
+++ b/chapter05/coreutils.xml
@@ -43,6 +43,15 @@
<sect2 role="installation">
<title>Installation of Coreutils</title>
+ <para>The version of the function <quote>futimens</quote> used
+ by Coreutils is incompatible with the version that current
+ Glibc provides, so we'll rename the function:</para>
+
+<screen><userinput>for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \
+ cp -v $file{,.orig}
+ sed 's/futimens/gl_&amp;/' $file.orig &gt; $file
+done</userinput></screen>
+
<para>Prepare Coreutils for compilation:</para>
<screen><userinput>./configure --prefix=/tools</userinput></screen>