diff --git a/srcpkgs/docbook-xsl/patches/non-recursive_string_subst.patch b/srcpkgs/docbook-xsl/patches/non-recursive_string_subst.patch new file mode 100644 index 00000000000..13193e2f03a --- /dev/null +++ b/srcpkgs/docbook-xsl/patches/non-recursive_string_subst.patch @@ -0,0 +1,30 @@ +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 +Bug-Debian: https://bugs.debian.org/750593 + +--- lib/lib.xsl ++++ lib/lib.xsl +@@ -10,7 +10,10 @@ + This module implements DTD-independent functions + + ******************************************************************** --> +- ++ + + + +@@ -56,6 +59,9 @@ + + + ++ ++ ++ + + + diff --git a/srcpkgs/docbook-xsl/template b/srcpkgs/docbook-xsl/template index d94c36584d4..d83236e6972 100644 --- a/srcpkgs/docbook-xsl/template +++ b/srcpkgs/docbook-xsl/template @@ -2,8 +2,8 @@ pkgname=docbook-xsl reverts="1.79.2_1" version=1.79.1 -revision=6 -noarch=yes +revision=7 +archs=noarch depends="xmlcatmgr docbook-xml>=4.2" short_desc="Docbook XSL modular stylesheet" maintainer="Juan RP "