From ed8b15516290cfe22b51efeb0b27a5bd89476784 Mon Sep 17 00:00:00 2001 From: Sergey Skvortsov Date: Mon, 5 Sep 2005 11:15:32 +0000 Subject: [PATCH] Update to 1.58 PR: ports/85557 Submitted by: skv Approved by: maintainer --- textproc/p5-XML-LibXSLT/Makefile | 3 +- textproc/p5-XML-LibXSLT/distinfo | 4 +-- .../p5-XML-LibXSLT/files/patch-LibXSLT.xs | 33 ------------------- 3 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 textproc/p5-XML-LibXSLT/files/patch-LibXSLT.xs diff --git a/textproc/p5-XML-LibXSLT/Makefile b/textproc/p5-XML-LibXSLT/Makefile index a841aba8cdb7..28f5694ff32f 100644 --- a/textproc/p5-XML-LibXSLT/Makefile +++ b/textproc/p5-XML-LibXSLT/Makefile @@ -6,8 +6,7 @@ # PORTNAME= XML-LibXSLT -PORTVERSION= 1.57 -PORTREVISION= 1 +PORTVERSION= 1.58 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= XML diff --git a/textproc/p5-XML-LibXSLT/distinfo b/textproc/p5-XML-LibXSLT/distinfo index c81b41d12730..b8a52c56a6b4 100644 --- a/textproc/p5-XML-LibXSLT/distinfo +++ b/textproc/p5-XML-LibXSLT/distinfo @@ -1,2 +1,2 @@ -MD5 (XML-LibXSLT-1.57.tar.gz) = 9b831bc5a97444103f345105f0f6fced -SIZE (XML-LibXSLT-1.57.tar.gz) = 25275 +MD5 (XML-LibXSLT-1.58.tar.gz) = c7b707002fed5c3572d81f92c453a5ce +SIZE (XML-LibXSLT-1.58.tar.gz) = 30810 diff --git a/textproc/p5-XML-LibXSLT/files/patch-LibXSLT.xs b/textproc/p5-XML-LibXSLT/files/patch-LibXSLT.xs deleted file mode 100644 index f94d65703e5c..000000000000 --- a/textproc/p5-XML-LibXSLT/files/patch-LibXSLT.xs +++ /dev/null @@ -1,33 +0,0 @@ ---- 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)) {