Author: bdubbs
Date: Sun Sep 13 13:18:47 2015
New Revision: 16405
Log:
Add a sed to fix a bug in libxml2
Modified:
trunk/BOOK/general/genlib/libxml2.xml
trunk/BOOK/introduction/welcome/changelog.xml
Modified: trunk/BOOK/general/genlib/libxml2.xml
==============================================================================
--- trunk/BOOK/general/genlib/libxml2.xml Sun Sep 13 13:06:01 2015
(r16404)
+++ trunk/BOOK/general/genlib/libxml2.xml Sun Sep 13 13:18:47 2015
(r16405)
@@ -110,16 +110,21 @@
<title>Installation of libxml2</title>
<para>
- Apply two upstream fixes, which correct bugs in
- <command>xmlcatalog</command> and in the entity substitution
- mechanism:
+ Apply three upstream fixes, which correct bugs in
+ <command>xmlcatalog</command>, in the entity substitution
+ mechanism, and in entity checking:
</para>
-<screen><userinput>sed \
- -e /xmlInitializeCatalog/d \
- -e 's/((ent->checked =.*&&/(((ent->checked == 0) ||\
- ((ent->children == NULL) \&\& (ctxt->options \&
XML_PARSE_NOENT))) \&\&/' \
- -i parser.c</userinput></screen>
+<screen><userinput>sed -e /xmlInitializeCatalog/d \
+ -e 's/((ent->checked =.*&&/(((ent->checked == 0) ||\
+ ((ent->children == NULL) \&\& (ctxt->options \&
XML_PARSE_NOENT))) \&\&/' \
+ -i parser.c &&
+
+sed -e "/The id is/{N;
+ a if (ctxt != NULL)
+ }" \
+ -i valid.c</userinput></screen>
+
<para>
Install <application>libxml2</application> by running the following
Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml Sun Sep 13 13:06:01
2015 (r16404)
+++ trunk/BOOK/introduction/welcome/changelog.xml Sun Sep 13 13:18:47
2015 (r16405)
@@ -48,7 +48,10 @@
<para>September 13th, 2015</para>
<itemizedlist>
<listitem>
- <para>[ken] - remove obsolete Berkeley-DB dependency from
+ <para>[bdubbs] - Add a sed to fix a bug in libxml2.</para>
+ </listitem>
+ <listitem>
+ <para>[ken] - Remove obsolete Berkeley-DB dependency from
Python2 - thanks to Sylvain Etienne for noticing.</para>
</listitem>
<listitem>
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page