mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
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@isc.org>
This commit is contained in:
parent
c000a91670
commit
6d9af13dc0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316712
2 changed files with 17 additions and 1 deletions
|
@ -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/}
|
||||
|
|
16
textproc/db2latex/files/patch-xsl-lists.mod.xsl
Normal file
16
textproc/db2latex/files/patch-xsl-lists.mod.xsl
Normal file
|
@ -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>
|
||||
|
Loading…
Add table
Reference in a new issue