aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/xmlwrapp
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-10-25 05:30:40 +0800
committerkrion <krion@FreeBSD.org>2003-10-25 05:30:40 +0800
commit1593059bce03d22c291745485a79c136316d327e (patch)
treebe77b776f0df6d821dc7cf8aae326eb6b75abd85 /textproc/xmlwrapp
parent5d88eab5dc1a341e3548744d8b50077112838c6c (diff)
downloadfreebsd-ports-gnome-1593059bce03d22c291745485a79c136316d327e.tar.gz
freebsd-ports-gnome-1593059bce03d22c291745485a79c136316d327e.tar.zst
freebsd-ports-gnome-1593059bce03d22c291745485a79c136316d327e.zip
- Fix build on 5.x
PR: 58416 Submitted by: Jens Rehsack <rehsack@liwing.de>
Diffstat (limited to 'textproc/xmlwrapp')
-rw-r--r--textproc/xmlwrapp/files/patch-src::libxml::tree_parser.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/xmlwrapp/files/patch-src::libxml::tree_parser.cxx b/textproc/xmlwrapp/files/patch-src::libxml::tree_parser.cxx
new file mode 100644
index 000000000000..984b51ec60c6
--- /dev/null
+++ b/textproc/xmlwrapp/files/patch-src::libxml::tree_parser.cxx
@@ -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;