aboutsummaryrefslogtreecommitdiff
path: root/pkgs/servers/pulseaudio
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-03-07 07:30:01 -0500
committerShea Levy <shea@shealevy.com>2018-03-17 21:58:14 -0400
commit88d10c7f1d2c3406739e9abaef710ca91af31a63 (patch)
tree70692c4b0bebf5a068ff00ca7e536ccb9e666381 /pkgs/servers/pulseaudio
parent0f172e971c0919f831f665e40dfbe503bffb618e (diff)
libpulseaudio: Add upstream glibc 2.27-compat patch
Diffstat (limited to 'pkgs/servers/pulseaudio')
-rw-r--r--pkgs/servers/pulseaudio/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/pulseaudio/default.nix b/pkgs/servers/pulseaudio/default.nix
index 6a65e8d03201..ed4a8889c67d 100644
--- a/pkgs/servers/pulseaudio/default.nix
+++ b/pkgs/servers/pulseaudio/default.nix
@@ -43,7 +43,11 @@ stdenv.mkDerivation rec {
sha256 = "17ndr6kc7hpv4ih4gygwlcpviqifbkvnk4fbwf4n25kpb991qlpj";
};
- patches = [ ./caps-fix.patch ]
+ patches = [ ./caps-fix.patch (fetchpatch {
+ name = "glibc-2.27.patch";
+ url = "https://cgit.freedesktop.org/pulseaudio/pulseaudio/patch/?id=dfb0460fb4743aec047cdf755a660a9ac2d0f3fb";
+ sha256 = "1bi6rbfdjyl6wn0jql4k18xa4hm5l2lpf1sc5j77f8l6jw956afv";
+ }) ]
++ 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";