[xml] [PATCH] fix xmllint when built without HTML support
- From: Matthias Kaehlcke <matthias kaehlcke net>
- To: xml gnome org
- Subject: [xml] [PATCH] fix xmllint when built without HTML support
- Date: Tue, 4 Nov 2008 09:56:38 +0100
xmllint fails to compile when libxml2 is configured without HTML
support. the following patch fixes the problem by conditional
compilation of the offending instructions
--- libxml2-2.7.2.org/xmllint.c 2008-08-26 13:38:25.000000000 +0200
+++ libxml2-2.7.2/xmllint.c 2008-11-04 09:41:49.000000000 +0100
@@ -2753,9 +2753,11 @@
#endif
#ifdef LIBXML_DEBUG_ENABLED
+#if defined(LIBXML_HTML_ENABLED)
if ((debugent) && (!html))
xmlDebugDumpEntities(stderr, doc);
#endif
+#endif
/*
* free it.
--
Matthias Kaehlcke
Embedded Linux Engineer
Barcelona
Dreams and reality are opposites. Action synthesizes them
(Assata Shakur)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]