fix typo.
[vuplus_openvuplus] / meta-openvuplus / recipes-enigma2 / libxmlccwrap / files / disable_libxslt.patch
1 diff -Naur libxmlccwrap-0.0.12_org/configure.ac libxmlccwrap-0.0.12/configure.ac
2 --- libxmlccwrap-0.0.12_org/configure.ac        2005-07-28 21:27:58.000000000 +0200
3 +++ libxmlccwrap-0.0.12/configure.ac    2007-10-29 15:36:49.000000000 +0100
4 @@ -15,7 +15,7 @@
5  AM_PROG_LIBTOOL
6  
7  AC_CHECK_LIB(xml2,main)
8 -AC_CHECK_LIB(xslt,main)
9 +#AC_CHECK_LIB(xslt,main)
10  
11  AC_OUTPUT([Makefile \
12            xmlccwrap/Makefile \
13 diff -Naur libxmlccwrap-0.0.12_org/xmlccwrap/xmlccwrap.cc libxmlccwrap-0.0.12/xmlccwrap/xmlccwrap.cc
14 --- libxmlccwrap-0.0.12_org/xmlccwrap/xmlccwrap.cc      2003-12-18 23:48:08.000000000 +0100
15 +++ libxmlccwrap-0.0.12/xmlccwrap/xmlccwrap.cc  2007-10-24 22:54:15.000000000 +0200
16 @@ -23,8 +23,10 @@
17  #include <libxml/tree.h>
18  #include <libxml/HTMLparser.h>
19  #include <libxml/encoding.h>
20 +/*
21  #include <libxslt/xsltutils.h>
22  #include <libxslt/transform.h>
23 +*/
24  #include "xmlccwrap.h"
25  #include "libxmlexport.h"
26  
27 @@ -47,7 +49,7 @@
28    Element *readnode(xmlNodePtr);
29    void writenode(xmlDocPtr, Element *, xmlNodePtr, int = 0);
30  
31 -
32 +/*
33    XSLTTree::XSLTTree()
34    {
35      xsltP = 0;
36 @@ -83,7 +85,7 @@
37    {
38      return xsltP;
39    }
40 -
41 +*/
42  
43    XMLTree::XMLTree() : _filename(), _root(), _compression(0)
44    { }
45 @@ -380,7 +382,7 @@
46      return retval;
47    }
48  
49 -
50 +/*
51    bool XMLTree::xslt(const XSLTTree & xsltTree, const std::string & outputfile, ParameterMap & parameterMap)
52    {
53      bool ret = false;
54 @@ -425,7 +427,7 @@
55      ParameterMap parameterMap;
56      return xslt(xsltTree, outputfile, parameterMap);
57    }
58 -
59 +*/
60  
61    const std::string & XMLTree::getErrorString()
62    {
63 diff -Naur libxmlccwrap-0.0.12_org/xmlccwrap/xmlccwrap.h libxmlccwrap-0.0.12/xmlccwrap/xmlccwrap.h
64 --- libxmlccwrap-0.0.12_org/xmlccwrap/xmlccwrap.h       2003-12-18 23:42:37.000000000 +0100
65 +++ libxmlccwrap-0.0.12/xmlccwrap/xmlccwrap.h   2007-10-24 22:54:15.000000000 +0200
66 @@ -43,7 +41,7 @@
67      typedef std::multimap<std::string, std::string> ParameterMap;
68      typedef ParameterMap::value_type ValuePair;
69  
70 -
71 +/*
72      class XSLTTree
73      {
74        private:
75 @@ -60,7 +58,7 @@
76          bool read(const std::string &fn);
77          const void * exportxsltStylesheetPtr() const;
78      };
79 -
80 +*/
81  
82      class XMLTree
83      {
84 @@ -102,10 +100,10 @@
85          bool write(const std::string &fn);
86          const std::string & writeBuffer() const;
87  
88 -
89 +/*
90          bool xslt(const XSLTTree & xsltTree, const std::string & outputfile, ParameterMap & parameterMap);
91          bool xslt(const XSLTTree & xsltTree, const std::string & outputfile);
92 -
93 +*/
94          const std::string & getErrorString();
95      };
96