mpd: 0.20.4 -> 0.20.5

Fixes buffer overflows and a memleak.

(cherry picked from commit 05706869a8)
This commit is contained in:
Franz Pletz
2017-02-25 13:47:42 +01:00
parent 58f363fe98
commit 38ba8c4b72

View File

@@ -30,13 +30,13 @@ let
opt = stdenv.lib.optional;
mkFlag = c: f: if c then "--enable-${f}" else "--disable-${f}";
major = "0.20";
minor = "4";
minor = "5";
in stdenv.mkDerivation rec {
name = "mpd-${major}${if minor == "" then "" else "." + minor}";
src = fetchurl {
url = "http://www.musicpd.org/download/mpd/${major}/${name}.tar.xz";
sha256 = "0a4psqsf71vc6hfgyv55jclsx8yb7lf4w840qlq6cq8j3hsjaavi";
sha256 = "11w9v0l9lf504nkxlb91y5r9x403ikl626mjd1lf4fj44yz76maj";
};
patches = stdenv.lib.optionals stdenv.isDarwin ./darwin-enable-cxx-exceptions.patch;