diff options
author | nik <nik@FreeBSD.org> | 2001-12-03 19:21:45 +0800 |
---|---|---|
committer | nik <nik@FreeBSD.org> | 2001-12-03 19:21:45 +0800 |
commit | 887475f2858ba92e14697f34f9046e959478c6ed (patch) | |
tree | 1d427cb59dec89e8294acdfed1e21bd82a8c1f22 /textproc | |
parent | 9f937cb553622003ada7c2be41fe91f54647efef (diff) | |
download | freebsd-ports-gnome-887475f2858ba92e14697f34f9046e959478c6ed.tar.gz freebsd-ports-gnome-887475f2858ba92e14697f34f9046e959478c6ed.tar.zst freebsd-ports-gnome-887475f2858ba92e14697f34f9046e959478c6ed.zip |
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
Diffstat (limited to 'textproc')
-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, |