File gnome-doc-utils-permissive.patch of Package gnome-doc-utils
This patch is an ugly hack and should be removed ASAP.
Many GNOME docs fail without it, it causes failing packages and it
causes failing rebuild of other packages.
================================================================================
--- xslt/docbook/omf/db2omf.xsl
+++ xslt/docbook/omf/db2omf.xsl
@@ -237,7 +237,7 @@
$info/publisher[@role='maintainer'] |
$info/authorgroup/*[@role='maintainer'] "/>
<xsl:if test="not($maintainers)">
- <xsl:message terminate="yes">
+ <xsl:message>
<xsl:text>db2omf: Could not construct the OMF maintainer element.
</xsl:text>
<xsl:text> Add an author, corpauthor, editor, othercredit, or publisher
</xsl:text>
<xsl:text> element with the role attribute set to "maintainer" to </xsl:text>
@@ -371,7 +371,7 @@
</date>
</xsl:when>
<xsl:otherwise>
- <xsl:message terminate="yes">
+ <xsl:message>
<xsl:text>db2omf: Could not construct the OMF date element.
</xsl:text>
<xsl:text> Add either a revision element with revnumber and date,
</xsl:text>
<xsl:text> or a date element to </xsl:text>
@@ -420,7 +420,7 @@
</version>
</xsl:when>
<xsl:otherwise>
- <xsl:message terminate="yes">
+ <xsl:message>
<xsl:text>db2omf: Could not construct the OMF version element.
</xsl:text>
<xsl:text> Add either a revision element with revnumber and date,
</xsl:text>
<xsl:text> or date and edition elements to </xsl:text>
@@ -484,7 +484,7 @@
= 'info']"/>
<xsl:variable name="description" select="$info/abstract[@role = 'description']"/>
<xsl:if test="not($description)">
- <xsl:message terminate="yes">
+ <xsl:message>
<xsl:text>db2omf: Could not construct the OMF description element.
</xsl:text>
<xsl:text> Add an abstract with the role attribute set to "description"
</xsl:text>
<xsl:text> to </xsl:text>