Index: head/textproc/p5-XML-LibXSLT/Makefile =================================================================== --- head/textproc/p5-XML-LibXSLT/Makefile (revision 136921) +++ head/textproc/p5-XML-LibXSLT/Makefile (revision 136922) @@ -1,35 +1,36 @@ # New ports collection makefile for: XML::LibXSLT # Date created: 6 June 2001 # Whom: Dom Mitchell # # $FreeBSD$ # PORTNAME= XML-LibXSLT PORTVERSION= 1.57 +PORTREVISION= 1 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= XML PKGNAMEPREFIX= p5- MAINTAINER= dom@happygiraffe.net COMMENT= Perl interface to the GNOME XSLT library BUILD_DEPENDS= ${PERL_ABASE}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML RUN_DEPENDS= ${PERL_ABASE}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ xslt.2:${PORTSDIR}/textproc/libxslt PERL_CONFIGURE= yes CONFIGURE_ARGS= INC='-I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2' PERL_ABASE= ${SITE_PERL}/${PERL_ARCH} MAN3= XML::LibXSLT.3 .include .if ${PERL_LEVEL} < 500600 EXTRA_PATCHES= ${FILESDIR}/500503-* .endif .include Property changes on: head/textproc/p5-XML-LibXSLT/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.10 \ No newline at end of property +1.11 \ No newline at end of property Index: head/textproc/p5-XML-LibXSLT/files/patch-LibXSLT.xs =================================================================== --- head/textproc/p5-XML-LibXSLT/files/patch-LibXSLT.xs (nonexistent) +++ head/textproc/p5-XML-LibXSLT/files/patch-LibXSLT.xs (revision 136922) @@ -0,0 +1,33 @@ +--- LibXSLT.xs.orig Mon Mar 1 18:42:43 2004 ++++ LibXSLT.xs Mon Apr 11 08:07:33 2005 +@@ -772,6 +772,7 @@ + xmlDocPtr real_dom; + xmlDocPtr doc; + STRLEN len; ++ xsltTransformContextPtr ctxt; + CODE: + if (sv_doc == NULL) { + XSRETURN_UNDEF; +@@ -806,10 +807,21 @@ + (xmlInputOpenCallback) LibXSLT_input_open, + (xmlInputReadCallback) LibXSLT_input_read, + (xmlInputCloseCallback) LibXSLT_input_close); +- real_dom = xsltApplyStylesheet(self, doc, xslt_params); ++ ++ ctxt = xsltNewTransformContext(self, doc); ++ if (ctxt == NULL) ++ return; ++ ++ xsltSetCtxtParseOptions(ctxt, 0); ++ ++ if (xsltGetXIncludeDefault()) ++ ctxt->xinclude = 1; ++ ++ real_dom = xsltApplyStylesheetUser(self, doc, xslt_params, NULL, NULL, ctxt); + + xmlCleanupInputCallbacks(); + xmlRegisterDefaultInputCallbacks(); ++ xsltFreeTransformContext(ctxt); + + if (real_dom == NULL) { + if (SvTRUE(ERRSV)) { Property changes on: head/textproc/p5-XML-LibXSLT/files/patch-LibXSLT.xs ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property