void-packages/srcpkgs/firefox/patches/fix-cmsghdr-rust.patch

12 lines
480 B
Diff

--- media/audioipc/audioipc/src/cmsg.rs.orig 2019-03-19 21:31:45.177880477 +0100
+++ media/audioipc/audioipc/src/cmsg.rs 2019-03-19 21:32:38.103478999 +0100
@@ -108,7 +108,7 @@
let cmsghdr = cmsghdr {
cmsg_len: cmsg_len as _,
- #[cfg(target_env = "musl")]
+ #[cfg(all(target_env = "musl", target_pointer_width = "64"))]
__pad1: 0,
cmsg_level: level,
cmsg_type: kind,