docbook-xsl: apply Debian/Fedora patch to fix issues

Our samba now got hit by that bug: https://hydra.nixos.org/build/68373563
This commit is contained in:
Vladimír Čunát 2018-01-29 21:25:07 +01:00
parent 303d5b119e
commit 15c471e444
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, findXMLCatalogs, writeScriptBin, ruby, bash }:
{ lib, stdenv, fetchurl, fetchpatch, findXMLCatalogs, writeScriptBin, ruby, bash }:
let
@ -10,6 +10,14 @@ let
inherit sha256;
};
patches = [(fetchpatch {
name = "potential-infinite-template-recursion.patch";
url = "https://src.fedoraproject.org/cgit/rpms/docbook-style-xsl.git/"
+ "plain/docbook-style-xsl-non-recursive-string-subst.patch?id=bf9e5d16fd";
sha256 = "1pfb468bsj3j879ip0950waih0r1s6rzfbm2p70glbz0g3903p7h";
stripLen = "1";
})];
propagatedBuildInputs = [ findXMLCatalogs ];
dontBuild = true;