aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2019-08-04 21:15:40 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2019-08-04 21:15:40 +0000
commitfb4e1d41658286dba876e75a983100a3e37cdc84 (patch)
tree686b7f1b53a8a07b21a17fa4aed30c1daa181b21 /chapter06
parent3f01429fb3105061ca7462e40c378928a8d7f93c (diff)
Fix a problem introduced by linux-5.2 by adding an include file to a glibc header.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11651 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/glibc.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 93d83f80f..9af4e6335 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -60,12 +60,12 @@
<para>Fix a minor security issue with glob functions:</para>
<screen><userinput remap="pre">patch -Np1 -i ../&glibc-glob-patch;</userinput></screen>
---><!--
- <para>First create a compatibility symlink to avoid references to /tools in
- our final glibc:</para>
-
-<screen><userinput remap="pre">ln -sfv /tools/lib/gcc /usr/lib</userinput></screen>
-->
+ <para>Fix a problem introduced with the linux-5.2 kernel:</para>
+
+<screen><userinput remap="pre">sed -i '/asm.socket.h/a# include &lt;linux/sockios.h&gt;' \
+ sysdeps/unix/sysv/linux/bits/socket.h</userinput></screen>
+
<para>Create a symlink for LSB
compliance. Additionally, for x86_64, create a compatibility symlink
required for the dynamic loader to function correctly:</para>