Bugfix update to 18.1, which fixes the docbook generation.

Changelog: https://github.com/enz/pentobi/compare/v18.0...v18.1
This commit is contained in:
bcallah 2020-06-26 16:17:50 +00:00
parent ada8dbb7b9
commit c0b538c4ca
3 changed files with 4 additions and 54 deletions

View File

@ -1,8 +1,7 @@
# $OpenBSD: Makefile,v 1.17 2020/06/05 06:08:27 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.18 2020/06/26 16:17:50 bcallah Exp $
COMMENT = free clone of Blokus board game
DISTNAME = pentobi-18.0
REVISION = 0
DISTNAME = pentobi-18.1
EXTRACT_SUFX = .tar.xz
CATEGORIES = games x11

View File

@ -1,2 +1,2 @@
SHA256 (pentobi-18.0.tar.xz) = 3oXuwquIRhXys4Q4FALM6pzMqvraGDozBFTGzj3UmzY=
SIZE (pentobi-18.0.tar.xz) = 456688
SHA256 (pentobi-18.1.tar.xz) = eOFw3ICu0C2wtvw2RGbT8zRa/Htu9Mrss+38NGkw3O0=
SIZE (pentobi-18.1.tar.xz) = 457080

View File

@ -1,49 +0,0 @@
$OpenBSD: patch-pentobi_docbook_custom_xsl,v 1.1 2020/05/18 17:11:08 bcallah Exp $
runtime error: file /usr/ports/pobj/pentobi-18.0/pentobi-18.0/pentobi/docbook/custom.xsl line 40 element td
Variable 'direction.align.start' has not been declared.
XPath error : Undefined variable
runtime error: file /usr/ports/pobj/pentobi-18.0/pentobi-18.0/pentobi/docbook/custom.xsl line 40 element td
Internal error: Failed to evaluate the AVT of attribute 'align'.
error: file /usr/ports/pobj/pentobi-18.0/pentobi-18.0/pentobi/docbook/index.docbook
xsltRunStylesheet : run failed
Index: pentobi/docbook/custom.xsl
--- pentobi/docbook/custom.xsl.orig
+++ pentobi/docbook/custom.xsl
@@ -37,7 +37,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" vers
<div class="navheader">
<table width="100%">
<tr>
-<td width="34%" align="{$direction.align.start}">
+<td width="34%">
<xsl:if test="count($prev)>0">
<a>
<xsl:attribute name="href">
@@ -69,7 +69,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" vers
<xsl:otherwise>&#160;</xsl:otherwise>
</xsl:choose>
</td>
-<td width="34%" align="{$direction.align.end}">
+<td width="34%">
<xsl:text>&#160;</xsl:text>
<xsl:if test="count($next)>0">
<a>
@@ -99,7 +99,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" vers
<hr/>
<table width="100%">
<tr>
-<td width="34%" align="{$direction.align.start}">
+<td width="34%">
<xsl:if test="count($prev)>0">
<a>
<xsl:attribute name="href">
@@ -131,7 +131,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" vers
<xsl:otherwise>&#160;</xsl:otherwise>
</xsl:choose>
</td>
-<td width="34%" align="{$direction.align.end}">
+<td width="34%">
<xsl:text>&#160;</xsl:text>
<xsl:if test="count($next)>0">
<a>