Add a new patch which fixes a problem where xsltproc will, in some cases,

not produce any output (!).  This is a major problem when building the
XSL/XML parts of the web site.  1.0.8 (when it's imported) has the same
problem, the fix for which is at

http://cvs.gnome.org/bonsai/cvsquery.cgi?module=libxslt&branch=HEAD&branchtype=match&dir=libxslt&file=&filetype=match&who=veillard&whotype=match&sortby=Date&hours=&date=explicit&mindate=11%2F30%2F01+13%3A01&maxdate=11%2F30%2F01+13%3A03&cvsroot=%2Fcvs%2Fgnome

Bump PORTREVISION to reflect this.

Approved by:	sobomax
This commit is contained in:
Nik Clayton 2001-12-03 11:21:45 +00:00
parent 3809f66055
commit 5470bce08f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50957
2 changed files with 17 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= libxslt
PORTVERSION= 1.0.7
PORTREVISION= 1
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/libxslt

View File

@ -0,0 +1,16 @@
--- libxslt/transform.c.orig Sat Nov 10 13:35:49 2001
+++ libxslt/transform.c Mon Dec 3 00:03:39 2001
@@ -3474,12 +3474,10 @@
if (tmp == root) {
ctxt->type = XSLT_OUTPUT_HTML;
res->type = XML_HTML_DOCUMENT_NODE;
- if (((doctypePublic != NULL) || (doctypeSystem != NULL)))
+ if (((doctypePublic != NULL) || (doctypeSystem != NULL))) {
res->intSubset = xmlCreateIntSubset(res, root->name,
doctypePublic,
doctypeSystem);
- if (((doctypePublic != NULL) || (doctypeSystem != NULL))) {
- res = htmlNewDoc(doctypeSystem, doctypePublic);
#ifdef XSLT_GENERATE_HTML_DOCTYPE
} else if (version != NULL) {
xsltGetHTMLIDs(version, &doctypePublic,