mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

This module is an interface to libxml2, providing XML and HTML parsers \ with DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3 \ interface and a XML::XPath-like interface to XPath API of libxml2. \ The module is split into several packages which are not described in this \ section; unless stated otherwise, you only need to use XML::LibXML; in \ your programs. Signed-off-by: Roy Li <rongqing.li@windriver.com> Acked-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
32 lines
752 B
Diff
32 lines
752 B
Diff
[PATCH] Fix a compile error
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Fix a compile error by conditional using 'catal' since catal
|
|
is only defined when LIBXML_CATALOG_ENABLED is enabled.
|
|
|
|
Signed-off-by: Roy Li <rongqing.li@windriver.com>
|
|
---
|
|
LibXML.xs | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/LibXML.xs b/LibXML.xs
|
|
index 66da04b..45da681 100644
|
|
--- a/LibXML.xs
|
|
+++ b/LibXML.xs
|
|
@@ -2777,9 +2777,11 @@ _default_catalog( self, catalog )
|
|
xmlCatalogPtr catal = INT2PTR(xmlCatalogPtr,SvIV(SvRV(catalog)));
|
|
#endif
|
|
INIT:
|
|
+#ifdef LIBXML_CATALOG_ENABLED
|
|
if ( catal == NULL ) {
|
|
croak( "empty catalog\n" );
|
|
}
|
|
+#endif
|
|
CODE:
|
|
warn( "this feature is not implemented" );
|
|
RETVAL = 0;
|
|
--
|
|
1.7.10.4
|
|
|