svn commit: r316712 - in head/textproc/db2latex: . files

Stefan Walter stefan at FreeBSD.org
Sun Apr 28 11:24:27 UTC 2013


Author: stefan
Date: Sun Apr 28 11:24:26 2013
New Revision: 316712
URL: http://svnweb.freebsd.org/changeset/ports/316712

Log:
  Fix a problem with nested <param> tags in the XSL stylesheet which xsltproc does
  not like and which prevents building the bind9 documentation.
  
  PR:		173615
  Submitted by:	Mark Andrews <marka at isc.org>

Added:
  head/textproc/db2latex/files/patch-xsl-lists.mod.xsl   (contents, props changed)
Modified:
  head/textproc/db2latex/Makefile   (contents, props changed)

Modified: head/textproc/db2latex/Makefile
==============================================================================
--- head/textproc/db2latex/Makefile	Sun Apr 28 10:00:25 2013	(r316711)
+++ head/textproc/db2latex/Makefile	Sun Apr 28 11:24:26 2013	(r316712)
@@ -8,7 +8,7 @@
 
 PORTNAME=	db2latex
 PORTVERSION=	0.8p1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.8pre1
 DISTNAME=	${PORTNAME}-xsl-${PORTVERSION:S/p/pre/}

Added: head/textproc/db2latex/files/patch-xsl-lists.mod.xsl
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/db2latex/files/patch-xsl-lists.mod.xsl	Sun Apr 28 11:24:26 2013	(r316712)
@@ -0,0 +1,16 @@
+--- xsl/lists.mod.xsl.orig	2004-01-31 11:53:50.000000000 +0000
++++ xsl/lists.mod.xsl	2012-11-13 21:15:16.000000000 +0000
+@@ -269,10 +269,8 @@
+ 		</doc:notes>
+ 	</doc:template>
+ 	<xsl:template match="varlistentry">
+-		<xsl:param name="next.is.list">
+-			<xsl:param name="object" select="listitem/*[1]"/>
+-			<xsl:value-of select="count($object[self::itemizedlist or self::orderedlist or self::variablelist])"/>
+-		</xsl:param>
++		<xsl:param name="object" select="listitem/*[1]"/>
++		<xsl:param name="next.is.list" select="count($object[self::itemizedlist or self::orderedlist or self::variablelist])"/>
+ 		<xsl:variable name="id">
+ 			<xsl:call-template name="label.id"/>
+ 		</xsl:variable>
+


More information about the svn-ports-head mailing list