diff options
author | Nik Clayton <nik@FreeBSD.org> | 2001-12-03 11:21:45 +0000 |
---|---|---|
committer | Nik Clayton <nik@FreeBSD.org> | 2001-12-03 11:21:45 +0000 |
commit | 5470bce08fcbd803160b31d849d1617737322d50 (patch) | |
tree | b9a57d47a0f7988e389660caad6b1033ff6659b6 /textproc/libxslt | |
parent | Update to 0.7. (diff) |
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
Notes
Notes:
svn path=/head/; revision=50957
Diffstat (limited to 'textproc/libxslt')
-rw-r--r-- | textproc/libxslt/Makefile | 1 | ||||
-rw-r--r-- | textproc/libxslt/files/patch-libxslt::transform.c | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile index e20472895a1a..56bd4c2aa52d 100644 --- a/textproc/libxslt/Makefile +++ b/textproc/libxslt/Makefile @@ -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 diff --git a/textproc/libxslt/files/patch-libxslt::transform.c b/textproc/libxslt/files/patch-libxslt::transform.c new file mode 100644 index 000000000000..28c33664dbda --- /dev/null +++ b/textproc/libxslt/files/patch-libxslt::transform.c @@ -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, |