mpc_cli: fix build with meson 0.60

Adds upstream patch from https://github.com/MusicPlayerDaemon/mpc/pull/76
to make the dependency on rsync optional.

+9
+9
pkgs/applications/audio/mpc/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , meson 5 6 , ninja 6 7 , pkg-config ··· 19 20 rev = "v${version}"; 20 21 sha256 = "sha256-2FjYBfak0IjibuU+CNQ0y9Ei8hTZhynS/BK2DNerhVw="; 21 22 }; 23 + 24 + patches = [ 25 + # fix the build with meson 0.60 (https://github.com/MusicPlayerDaemon/mpc/pull/76) 26 + (fetchpatch { 27 + url = "https://github.com/MusicPlayerDaemon/mpc/commit/b656ca4b6c2a0d5b6cebd7f7daa679352f664e0e.patch"; 28 + sha256 = "sha256-fjjSlCKxgkz7Em08CaK7+JAzl8YTzLcpGGMz2HJlsVw="; 29 + }) 30 + ]; 22 31 23 32 buildInputs = [ libmpdclient ] ++ lib.optionals stdenv.isDarwin [ libiconv ]; 24 33