aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/flex.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/flex.xml')
-rw-r--r--chapter06/flex.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index 64e000287..4055d4857 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -40,11 +40,11 @@
<sect2 role="installation">
<title>Installation of Flex</title>
-<!--
- <para>First, fix a problem with the latest version:</para>
-<screen><userinput remap="pre">patch -Np1 -i ../&flex-fixes-patch;</userinput></screen>
--->
+ <para>First, fix a problem introduced with glibc-2.26:</para>
+
+<screen><userinput remap="pre">sed -i "/math.h/a #include &lt;malloc.h&gt;" src/flexdef.h</userinput></screen>
+
<para>The build procedure assumes the <application>help2man</application>
program is available to create a man page from the executable --help option.
This is not present, so we use an environment variable to skip this process.