aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2010-08-15 18:29:37 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2010-08-15 18:29:37 +0000
commit35c395126803b54fec25d47bcef425c114405f4a (patch)
treeef5cdf4dc6e2444c2b5b1dd343d157ed6840736f /chapter06
parentb188c43af9034c7caa658c8de98b160f5cbe127f (diff)
Build and install peekfd on x86_64 as well as x86. Fixes #2734.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/psmisc.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter06/psmisc.xml b/chapter06/psmisc.xml
index 7232f01f8..2e7561014 100644
--- a/chapter06/psmisc.xml
+++ b/chapter06/psmisc.xml
@@ -41,6 +41,11 @@
<sect2 role="installation">
<title>Installation of Psmisc</title>
+ <para>Fix a bug that prevents <command>peekfd</command> from being built on
+ the x86_64 architecture:</para>
+
+<screen><userinput remap="pre">sed -i 's@#include &lt;sys\/user.h&gt;@#include &lt;bits\/types.h&gt;\n&amp;@' configure</userinput></screen>
+
<para>Prepare Psmisc for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>