diff options
author | Roy Li <rongqing.li@windriver.com> | 2014-07-15 08:42:38 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-22 00:02:01 +0200 |
commit | 743751e20cc266143130fb5bb49efb4c86b9e02b (patch) | |
tree | e7cd520986b81d905ea0efc7fdec07b5a5e54c7c /meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch | |
parent | 764c5c07165848a7821cf835925331dc3fa27384 (diff) | |
download | meta-openembedded-743751e20cc266143130fb5bb49efb4c86b9e02b.tar.gz |
libxml-libxml-perl: add recipe
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>
Diffstat (limited to 'meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch')
-rw-r--r-- | meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch b/meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch new file mode 100644 index 0000000000..1dd9fb3757 --- /dev/null +++ b/meta-perl/recipes-perl/libxml/libxml-libxml-perl/fix-CATALOG-conditional-compile.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | [PATCH] Fix a compile error | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Fix a compile error by conditional using 'catal' since catal | ||
6 | is only defined when LIBXML_CATALOG_ENABLED is enabled. | ||
7 | |||
8 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
9 | --- | ||
10 | LibXML.xs | 2 ++ | ||
11 | 1 file changed, 2 insertions(+) | ||
12 | |||
13 | diff --git a/LibXML.xs b/LibXML.xs | ||
14 | index 66da04b..45da681 100644 | ||
15 | --- a/LibXML.xs | ||
16 | +++ b/LibXML.xs | ||
17 | @@ -2777,9 +2777,11 @@ _default_catalog( self, catalog ) | ||
18 | xmlCatalogPtr catal = INT2PTR(xmlCatalogPtr,SvIV(SvRV(catalog))); | ||
19 | #endif | ||
20 | INIT: | ||
21 | +#ifdef LIBXML_CATALOG_ENABLED | ||
22 | if ( catal == NULL ) { | ||
23 | croak( "empty catalog\n" ); | ||
24 | } | ||
25 | +#endif | ||
26 | CODE: | ||
27 | warn( "this feature is not implemented" ); | ||
28 | RETVAL = 0; | ||
29 | -- | ||
30 | 1.7.10.4 | ||
31 | |||