From eb3d40c72c9dd19f6a5ef79b41e9d8ba73ccd928 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 1 Sep 2011 23:14:36 +0000 Subject: Thu Sep 1 23:14:36 UTC 2011 --- .../xml2/01_use_libxml2_instead_of_libxml.patch | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 community/xml2/01_use_libxml2_instead_of_libxml.patch (limited to 'community/xml2/01_use_libxml2_instead_of_libxml.patch') diff --git a/community/xml2/01_use_libxml2_instead_of_libxml.patch b/community/xml2/01_use_libxml2_instead_of_libxml.patch new file mode 100644 index 000000000..975060ed3 --- /dev/null +++ b/community/xml2/01_use_libxml2_instead_of_libxml.patch @@ -0,0 +1,70 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01_use_libxml2_instead_of_libxml.dpatch by Daniel Leidert +## +## +## DP: Make use of libxml2 instead of libxml + +@DPATCH@ +diff -urNad xml2-0.4~/2xml.c xml2-0.4/2xml.c +--- xml2-0.4~/2xml.c 2003-12-24 21:28:48.000000000 +0100 ++++ xml2-0.4/2xml.c 2008-03-12 09:32:17.345380803 +0100 +@@ -24,7 +24,7 @@ + #include + #include + +-#include ++#include + + int do_html; + int in_tag = 0; +@@ -104,7 +104,7 @@ + fputs("/>",stdout); + else { + const htmlElemDesc *elem = NULL; +- if (do_html) elem = htmlTagLookup(name); ++ if (do_html) elem = htmlTagLookup((xmlChar *) name); + finish_tag(); + if (NULL == elem || (!elem->endTag && !elem->empty)) { + fputs(" + #include + +-#include +-#include ++#include ++#include + + struct node + { -- cgit v1.2.3-54-g00ecf