summaryrefslogtreecommitdiff
path: root/textproc/db2latex/files/patch-xsl-lists.mod.xsl
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2013-04-28 11:24:26 +0000
committerStefan Walter <stefan@FreeBSD.org>2013-04-28 11:24:26 +0000
commit6d9af13dc0ab566e41b9505a4bc06c5bedc88b49 (patch)
tree7c70a632f09e8bc64c3386080a3261d0ade244ec /textproc/db2latex/files/patch-xsl-lists.mod.xsl
parentEnforce correct type (per specification) and drop unneeded backslashes. (diff)
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>
Diffstat (limited to 'textproc/db2latex/files/patch-xsl-lists.mod.xsl')
-rw-r--r--textproc/db2latex/files/patch-xsl-lists.mod.xsl16
1 files changed, 16 insertions, 0 deletions
diff --git a/textproc/db2latex/files/patch-xsl-lists.mod.xsl b/textproc/db2latex/files/patch-xsl-lists.mod.xsl
new file mode 100644
index 000000000000..08b8d7282028
--- /dev/null
+++ b/textproc/db2latex/files/patch-xsl-lists.mod.xsl
@@ -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>
+