From eb23668e5967b88ff940467892c6c39e5de9e7ac Mon Sep 17 00:00:00 2001 From: Rmys Date: Sun, 13 Jan 2019 20:00:14 +0300 Subject: [PATCH] docbook-xsl:rebuild smb.conf.5.xml error --- .../files/nonrecursive-string-subst.patch | 30 +++++++++++++++++++ office/docbook/docbook-xsl/pspec.xml | 8 +++++ 2 files changed, 38 insertions(+) create mode 100644 office/docbook/docbook-xsl/files/nonrecursive-string-subst.patch diff --git a/office/docbook/docbook-xsl/files/nonrecursive-string-subst.patch b/office/docbook/docbook-xsl/files/nonrecursive-string-subst.patch new file mode 100644 index 00000000..99ce9960 --- /dev/null +++ b/office/docbook/docbook-xsl/files/nonrecursive-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 + +--- a/lib/lib.xsl ++++ b/lib/lib.xsl +@@ -10,7 +10,10 @@ + This module implements DTD-independent functions + + ******************************************************************** --> +- ++ + + + +@@ -56,6 +59,9 @@ + + + ++ ++ ++ + + + diff --git a/office/docbook/docbook-xsl/pspec.xml b/office/docbook/docbook-xsl/pspec.xml index 0efae5a5..80f989b5 100644 --- a/office/docbook/docbook-xsl/pspec.xml +++ b/office/docbook/docbook-xsl/pspec.xml @@ -21,6 +21,7 @@ docbook-xsl-newmethods.patch docbook-xsl-non-constant-expressions.patch docbook-xsl-list-item-body.patch + nonrecursive-string-subst.patch @@ -40,6 +41,13 @@ + + 2019-01-13 + 1.79.1 + Rebuild. + Ertuğrul Erata + ertugrulerata@gmail.com + 2018-07-17 1.79.1