1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Fix build on 5.x

PR:		58416
Submitted by:	Jens Rehsack <rehsack@liwing.de>
This commit is contained in:
Kirill Ponomarev 2003-10-24 21:30:40 +00:00
parent 44bd24d707
commit c4e0ae99df
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92084

View File

@ -0,0 +1,11 @@
--- src/libxml/tree_parser.cxx.orig Thu Oct 23 08:30:38 2003
+++ src/libxml/tree_parser.cxx Thu Oct 23 08:30:44 2003
@@ -62,7 +62,7 @@
struct xml::tree_impl {
tree_impl (void) : last_error_(const_default_error), warnings_(false), okay_(false) {
std::memset(&sax_, 0, sizeof(sax_));
- initxmlDefaultSAXHandler(&sax_, 0);
+ xmlSAX2InitDefaultSAXHandler(&sax_, 0);
sax_.warning = cb_tree_warning;
sax_.error = cb_tree_error;