docbook-xsl: revert to 1.79.1.
This commit is contained in:
parent
b38f50a408
commit
3e9b80673d
|
@ -1,33 +0,0 @@
|
|||
Description: use EXSLT "replace" function when available
|
||||
A recursive implementation of string.subst is problematic,
|
||||
long strings with many matches will cause stack overflows.
|
||||
Author: Peter De Wachter <pdewacht@gmail.com>
|
||||
Bug-Debian: https://bugs.debian.org/750593
|
||||
|
||||
--- lib/lib.xsl
|
||||
+++ lib/lib.xsl
|
||||
@@ -6,7 +6,11 @@
|
||||
|
||||
This module implements DTD-independent functions
|
||||
|
||||
- ******************************************************************** --><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
+ ******************************************************************** -->
|
||||
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
+ xmlns:str="http://exslt.org/strings"
|
||||
+ exclude-result-prefixes="str"
|
||||
+ version="1.0">
|
||||
|
||||
<xsl:template name="dot.count">
|
||||
<!-- Returns the number of "." characters in a string -->
|
||||
@@ -52,6 +56,9 @@
|
||||
<xsl:param name="replacement"/>
|
||||
|
||||
<xsl:choose>
|
||||
+ <xsl:when test="function-available('str:replace')">
|
||||
+ <xsl:value-of select="str:replace($string, string($target), string($replacement))"/>
|
||||
+ </xsl:when>
|
||||
<xsl:when test="contains($string, $target)">
|
||||
<xsl:variable name="rest">
|
||||
<xsl:call-template name="string.subst">
|
||||
|
||||
|
|
@ -1,16 +1,16 @@
|
|||
# Template file for 'docbook-xsl'
|
||||
pkgname=docbook-xsl
|
||||
version=1.79.2
|
||||
revision=1
|
||||
reverts="1.79.2_1"
|
||||
version=1.79.1
|
||||
revision=3
|
||||
noarch=yes
|
||||
wrksrc="${pkgname}-nons-${version}"
|
||||
depends="xmlcatmgr docbook-xml>=4.2"
|
||||
short_desc="Docbook XSL modular stylesheet"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="MIT"
|
||||
homepage="https://docbook.org"
|
||||
distfiles="https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F${version}/docbook-xsl-nons-${version}.tar.gz"
|
||||
checksum=f89425b44e48aad24319a2f0d38e0cb6059fdc7dbaf31787c8346c748175ca8e
|
||||
homepage="http://docbook.sourceforge.net/"
|
||||
distfiles="${SOURCEFORGE_SITE}/docbook/${pkgname}-${version}.tar.bz2"
|
||||
checksum=725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968
|
||||
xml_entries="nextCatalog /usr/share/xsl/docbook/catalog.xml --"
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in New Issue