Commit 683ac623 authored by Leonardo Arena's avatar Leonardo Arena
Browse files

testing/firefox: rebuild against icu-63.1

Restore a missing patch mistankenly removed by 00b1814e
parent 110b3fbf
......@@ -4,7 +4,7 @@ pkgname=firefox
pkgver=62.0.3
_pkgver=$pkgver
_xulver=$pkgver
pkgrel=1
pkgrel=2
pkgdesc="Firefox web browser"
url="https://www.firefox.com/"
# limited by rust and cargo
......
--- ./media/audioipc/audioipc/src/cmsg.rs.orig 2018-05-09 22:19:14.748631939 +0200
+++ ./media/audioipc/audioipc/src/cmsg.rs 2018-05-09 22:19:22.961620862 +0200
@@ -106,11 +106,11 @@ impl ControlMsgBuilder {
return Err(Error::NoSpace);
}
- let cmsghdr = cmsghdr {
- cmsg_len: cmsg_len as _,
- cmsg_level: level,
- cmsg_type: kind,
- };
+ use std::mem;
+ let mut cmsghdr: cmsghdr = unsafe { mem::zeroed() };
+ cmsghdr.cmsg_len = cmsg_len as _;
+ cmsghdr.cmsg_level = level;
+ cmsghdr.cmsg_type = kind;
let cmsghdr = unsafe {
slice::from_raw_parts(&cmsghdr as *const _ as *const _, mem::size_of::<cmsghdr>())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment