1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix a build problem with libxml2-2.6.x.

Approved by:	maintainer timeout
This commit is contained in:
Joe Marcus Clarke 2003-11-01 23:06:39 +00:00
parent 8843805058
commit dceac278bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92804
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- lib/xdap/xdap.c.orig Tue Oct 28 21:28:24 2003
+++ lib/xdap/xdap.c Tue Oct 28 21:49:59 2003
@@ -159,7 +159,7 @@
xmlSAXHandler sax;
memset (&sax, 0, sizeof sax);
- sax = xmlDefaultSAXHandler; /* Copy original handler */
+ xmlSAX2InitDefaultSAXHandler (&sax, 0);
*oldgetent = sax.getEntity; /* Substitute entity handling */
if (noerr) {
sax.error = NULL; /* Disable errors and warnings */

View File

@ -0,0 +1,11 @@
--- lib/xdap/xdap.c.orig Tue Oct 28 21:28:24 2003
+++ lib/xdap/xdap.c Tue Oct 28 21:49:59 2003
@@ -159,7 +159,7 @@
xmlSAXHandler sax;
memset (&sax, 0, sizeof sax);
- sax = xmlDefaultSAXHandler; /* Copy original handler */
+ xmlSAX2InitDefaultSAXHandler (&sax, 0);
*oldgetent = sax.getEntity; /* Substitute entity handling */
if (noerr) {
sax.error = NULL; /* Disable errors and warnings */