From 2ecc3d5be5002e0e6aba7eea0abf4950f5025d52 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 10 Mar 2019 23:59:48 +0100 Subject: [PATCH] thunderbird: fix build with rust 1.33+ [ci skip] --- srcpkgs/thunderbird/patches/rust133.patch | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/thunderbird/patches/rust133.patch diff --git a/srcpkgs/thunderbird/patches/rust133.patch b/srcpkgs/thunderbird/patches/rust133.patch new file mode 100644 index 0000000000..ebdcac7e3a --- /dev/null +++ b/srcpkgs/thunderbird/patches/rust133.patch @@ -0,0 +1,24 @@ +This fixes build errors under recent Rust. + +--- servo/components/style_traits/lib.rs ++++ servo/components/style_traits/lib.rs +@@ -9,7 +9,7 @@ + #![crate_name = "style_traits"] + #![crate_type = "rlib"] + +-#![deny(unsafe_code, missing_docs)] ++#![deny(unsafe_code)] + + extern crate app_units; + #[macro_use] extern crate bitflags; +--- servo/components/style/lib.rs ++++ servo/components/style/lib.rs +@@ -23,8 +23,6 @@ + //! [cssparser]: ../cssparser/index.html + //! [selectors]: ../selectors/index.html + +-#![deny(missing_docs)] +- + extern crate app_units; + extern crate arrayvec; + extern crate atomic_refcell;