From 683ac6232089f61ae559f80fbdbb2467756ca9e7 Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Thu, 7 Feb 2019 14:57:40 +0000 Subject: testing/firefox: rebuild against icu-63.1 Restore a missing patch mistankenly removed by 00b1814ef62a2f7138b6354f44e8f4fa0d4df884 --- testing/firefox/APKBUILD | 2 +- testing/firefox/rust-unitialized-field.patch | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 testing/firefox/rust-unitialized-field.patch (limited to 'testing/firefox') diff --git a/testing/firefox/APKBUILD b/testing/firefox/APKBUILD index 37f5f9db0a..b31c1997b7 100644 --- a/testing/firefox/APKBUILD +++ b/testing/firefox/APKBUILD @@ -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 diff --git a/testing/firefox/rust-unitialized-field.patch b/testing/firefox/rust-unitialized-field.patch new file mode 100644 index 0000000000..67ef3a02ab --- /dev/null +++ b/testing/firefox/rust-unitialized-field.patch @@ -0,0 +1,19 @@ +--- ./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::()) -- cgit v1.2.3