aboutsummaryrefslogtreecommitdiffstats
path: root/main/docbook-xsl
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2019-10-28 18:37:44 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-10-29 11:49:44 +0000
commit218abcf559420f71eb7f8f96b0c066ffa7f62590 (patch)
tree24b8b793e2d7ced860cd1cd8c8dffa181c0fdedd /main/docbook-xsl
parent867138742023dde9397648e41743a9173432a7b2 (diff)
downloadaports-218abcf559420f71eb7f8f96b0c066ffa7f62590.tar.bz2
aports-218abcf559420f71eb7f8f96b0c066ffa7f62590.tar.xz
main/docbook-xsl: remove not needed patch and bump pkgrel
remove non-recursive_string_subst.patch which is not needed with new upstream release bump pkgrel
Diffstat (limited to 'main/docbook-xsl')
-rw-r--r--main/docbook-xsl/765567_non-recursive_string_subst.patch18
-rw-r--r--main/docbook-xsl/APKBUILD6
2 files changed, 2 insertions, 22 deletions
diff --git a/main/docbook-xsl/765567_non-recursive_string_subst.patch b/main/docbook-xsl/765567_non-recursive_string_subst.patch
deleted file mode 100644
index 5d0e134024..0000000000
--- a/main/docbook-xsl/765567_non-recursive_string_subst.patch
+++ /dev/null
@@ -1,18 +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
-
---- a/lib/lib.xsl
-+++ b/lib/lib.xsl
-@@ -56,6 +59,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">
diff --git a/main/docbook-xsl/APKBUILD b/main/docbook-xsl/APKBUILD
index 9a35b19566..80c6f99409 100644
--- a/main/docbook-xsl/APKBUILD
+++ b/main/docbook-xsl/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=docbook-xsl
pkgver=1.79.2
-pkgrel=0
+pkgrel=1
pkgdesc="XML stylesheets for Docbook-xml transformations."
url="https://docbook.org"
arch="noarch"
@@ -11,7 +11,6 @@ makedepends=""
options="!check"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
source="https://github.com/docbook/xslt10-stylesheets/releases/download/release%2F$pkgver/docbook-xsl-$pkgver.tar.gz
- 765567_non-recursive_string_subst.patch
"
build() {
@@ -43,5 +42,4 @@ package() {
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-sha512sums="cd375e7a2339bcd9d24936b370c4371b351cab7c8a79044e785d0300dab75bed5a5c9b9076d4fba32d39b22535edfc6f449a7b1086139ad8bf54eab844b9434e docbook-xsl-1.79.2.tar.gz
-96d4c56906ce5b7d1ec7f554329868aa1794b0584bbe02d28eee9cb3116a5e712347bc2358b9c04cf532967288a1e02059217b0882c5154ffd39ccbd5abaedeb 765567_non-recursive_string_subst.patch"
+sha512sums="cd375e7a2339bcd9d24936b370c4371b351cab7c8a79044e785d0300dab75bed5a5c9b9076d4fba32d39b22535edfc6f449a7b1086139ad8bf54eab844b9434e docbook-xsl-1.79.2.tar.gz"