From 8bcdf4d78f24e2bea22b3f1f4d819a0e01f78877 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sun, 9 Dec 2018 05:41:38 -0200 Subject: [PATCH] docbook-xsl: update to 1.79.2. --- .../patches/non-recursive_string_subst.patch | 33 +++++++++++++++++++ srcpkgs/docbook-xsl/template | 11 ++++--- 2 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/docbook-xsl/patches/non-recursive_string_subst.patch 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..e6201ef6b67 --- /dev/null +++ b/srcpkgs/docbook-xsl/patches/non-recursive_string_subst.patch @@ -0,0 +1,33 @@ +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 +@@ -6,7 +6,11 @@ + + This module implements DTD-independent functions + +- ******************************************************************** --> ++ ******************************************************************** --> ++ + + + +@@ -52,6 +56,9 @@ + + + ++ ++ ++ + + + + + diff --git a/srcpkgs/docbook-xsl/template b/srcpkgs/docbook-xsl/template index 74359559f67..a4497ee285d 100644 --- a/srcpkgs/docbook-xsl/template +++ b/srcpkgs/docbook-xsl/template @@ -1,15 +1,16 @@ # Template file for 'docbook-xsl' pkgname=docbook-xsl -version=1.79.1 -revision=2 +version=1.79.2 +revision=1 noarch=yes +wrksrc="${pkgname}-nons-${version}" depends="xmlcatmgr docbook-xml>=4.2" short_desc="Docbook XSL modular stylesheet" maintainer="Juan RP " license="MIT" -homepage="http://docbook.sourceforge.net/" -distfiles="${SOURCEFORGE_SITE}/docbook/$pkgname-$version.tar.bz2" -checksum=725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968 +homepage="https://docbook.org" +distfiles="https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F${version}/docbook-xsl-nons-${version}.tar.gz" +checksum=f89425b44e48aad24319a2f0d38e0cb6059fdc7dbaf31787c8346c748175ca8e xml_entries="nextCatalog /usr/share/xsl/docbook/catalog.xml --" do_install() {