Author: bdubbs
Date: Sat Feb 24 16:54:33 2018
New Revision: 19861

Log:
Fix a build problem wiht ptlib and glibc-2.27

Modified:
   trunk/BOOK/general/genlib/ptlib.xml

Modified: trunk/BOOK/general/genlib/ptlib.xml
==============================================================================
--- trunk/BOOK/general/genlib/ptlib.xml Sat Feb 24 15:05:35 2018        (r19860)
+++ trunk/BOOK/general/genlib/ptlib.xml Sat Feb 24 16:54:33 2018        (r19861)
@@ -36,7 +36,7 @@
       various platforms.
     </para>
 
-    &lfs81_checked;
+    &lfs82_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
@@ -117,7 +117,7 @@
     <title>Installation of Ptlib</title>
 
     <para>
-      Fix a build issue with gcc-7.1.0:
+      Fix a build issue with gcc-7.1.0 and later:
     </para>
 
 <screen><userinput>sed -i "s/sbin\.Right(1) == '\\\\0')/strlen(sbin\.Right(1)) 
== 0)/" \
@@ -126,6 +126,15 @@
 sed -i '/\/ioctl.h/a#include &lt;sys/uio.h&gt;' 
src/ptlib/unix/channel.cxx</userinput></screen>
 
     <para>
+      Fix a build issue with glibc-2.27 and later:
+    </para>
+
+<screen><userinput>sed -e '/WCHAR;/s:^://:' \
+    -e '/UINT;/ s:^://:' \
+    -e '/limits.h/a #include &lt;sqltypes.h&gt;' \
+    -i include/ptlib/unix/ptlib/contain.h</userinput></screen>
+
+    <para>
       Install <application>Ptlib</application> by running the following
       commands:
     </para>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to