aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/coreutils.xml
diff options
context:
space:
mode:
authorJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-08-08 04:52:10 +0000
committerJeremy Huntwork <jhuntwork@linuxfromscratch.org>2007-08-08 04:52:10 +0000
commit4f56afa39d82d98929f6fefdf6dc28d9514ff277 (patch)
tree9b8b8a560863b4affb0d6e0c070e0a9a5c5ceae1 /chapter06/coreutils.xml
parent5560d46140f2001646176b1e32ff8a13ba07a742 (diff)
Fix Coreutils-6.9 and Gzip-1.3.12 to work with Glibc-2.6.1: Rename the futimens function.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8289 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/coreutils.xml')
-rw-r--r--chapter06/coreutils.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 7ba700b27..5b7f4e392 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -35,6 +35,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>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