rrdtool: apply upstream patch to fix file permission

fixes #26780 #26782
This commit is contained in:
Volth 2017-06-23 05:47:46 +00:00 committed by Jörg Thalheim
parent 6bb5e991ab
commit 85b9ff29e9

View file

@ -1,4 +1,4 @@
{ fetchurl, stdenv, gettext, perl, pkgconfig, libxml2, pango, cairo, groff
{ fetchurl, fetchpatch, stdenv, gettext, perl, pkgconfig, libxml2, pango, cairo, groff
, tcl-8_5, darwin }:
stdenv.mkDerivation rec {
@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "0ssjqpa0dwwzbylc0drmlbq922qcw8crffc0rpr805xr6n4k8zgr";
};
patches = [
# fix regression https://github.com/oetiker/rrdtool-1.x/issues/794
(fetchpatch {
url = "https://github.com/oetiker/rrdtool-1.x/compare/0f28f99...f1edd12.patch";
sha256 = "10g56zy0rdjpv3kvvmf6vvaysmla05wi8byy3l0xrz2x8m02ylqq";
})
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gettext perl libxml2 pango cairo groff ]