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

12 lines
482 B
Diff
Raw Normal View History

--- media/audioipc/audioipc/src/cmsg.rs.orig 2019-01-07 15:37:48.111034714 +0100
+++ media/audioipc/audioipc/src/cmsg.rs 2019-01-07 15:40:17.251689417 +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,