Let it compile with libxslt >= 1.0.6

This commit is contained in:
espie 2001-12-31 12:03:51 +00:00
parent 54ca2352bc
commit 7b58588629
3 changed files with 13 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2001/11/10 15:00:50 espie Exp $ # $OpenBSD: Makefile,v 1.12 2001/12/31 12:03:51 espie Exp $
COMMENT= "fast XSLT module for perl" COMMENT= "fast XSLT module for perl"
@ -20,7 +20,7 @@ PERL_MODULE= ${LOCALBASE}/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd
BUILD_DEPENDS= ::textproc/p5-XML-LibXML BUILD_DEPENDS= ::textproc/p5-XML-LibXML
RUN_DPENDS= ${BUILD_DEPENDS} RUN_DPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= xml2.6::textproc/libxml \ LIB_DEPENDS= xml2.6::textproc/libxml \
xslt.::textproc/libxslt xslt::textproc/libxslt
PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_CDROM= Yes

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-LibXSLT_c,v 1.1 2001/12/31 12:03:51 espie Exp $
--- LibXSLT.c.orig Mon Dec 31 12:41:49 2001
+++ LibXSLT.c Mon Dec 31 12:42:01 2001
@@ -20,6 +20,7 @@ extern "C" {
#include <libxml/debugXML.h>
#include <libxml/HTMLtree.h>
#include <libxml/tree.h>
+#include <libxslt/xsltconfig.h>
#include <libxslt/xslt.h>
#include <libxslt/xsltInternals.h>
#include <libxslt/transform.h>