pulseaudio: patch for musl

This commit is contained in:
Will Dietz 2018-01-13 22:46:33 -06:00
parent bd23fc77d3
commit a0ee888f1d

View File

@ -43,7 +43,12 @@ stdenv.mkDerivation rec {
sha256 = "0sf92knqkvqmfhrbz4vlsagzqlps72wycpmln5dygicg07a0a8q7";
};
patches = [ ./caps-fix.patch ];
patches = [ ./caps-fix.patch ]
++ stdenv.lib.optional stdenv.hostPlatform.isMusl (fetchpatch {
name = "padsp-fix.patch";
url = "https://git.alpinelinux.org/cgit/aports/plain/testing/pulseaudio/0001-padsp-Make-it-compile-on-musl.patch?id=167be02bf4618a90328e2b234f6a63a5dc05f244";
sha256 = "0gf4w25zi123ghk0njapysvrlljkc3hyanacgiswfnnm1i8sab1q";
});
outputs = [ "out" "dev" ];