gnome-doc-utils/gnome-doc-utils-permissive.patch

45 lines
2.0 KiB
Diff
Raw Normal View History

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.&#x000A;</xsl:text>
<xsl:text> Add an author, corpauthor, editor, othercredit, or publisher&#x000A;</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.&#x000A;</xsl:text>
<xsl:text> Add either a revision element with revnumber and date,&#x000A;</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.&#x000A;</xsl:text>
<xsl:text> Add either a revision element with revnumber and date,&#x000A;</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.&#x000A;</xsl:text>
<xsl:text> Add an abstract with the role attribute set to "description"&#x000A;</xsl:text>
<xsl:text> to </xsl:text>