mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
Update to 1.58
PR: ports/85557 Submitted by: skv Approved by: maintainer
This commit is contained in:
parent
9f542c3318
commit
ed8b155162
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=141978
3 changed files with 3 additions and 37 deletions
|
@ -6,8 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= XML-LibXSLT
|
PORTNAME= XML-LibXSLT
|
||||||
PORTVERSION= 1.57
|
PORTVERSION= 1.58
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= textproc perl5
|
CATEGORIES= textproc perl5
|
||||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
MASTER_SITE_SUBDIR= XML
|
MASTER_SITE_SUBDIR= XML
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (XML-LibXSLT-1.57.tar.gz) = 9b831bc5a97444103f345105f0f6fced
|
MD5 (XML-LibXSLT-1.58.tar.gz) = c7b707002fed5c3572d81f92c453a5ce
|
||||||
SIZE (XML-LibXSLT-1.57.tar.gz) = 25275
|
SIZE (XML-LibXSLT-1.58.tar.gz) = 30810
|
||||||
|
|
|
@ -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)) {
|
|
Loading…
Add table
Reference in a new issue