#! /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 {