From c63a6a84d72eca5d5ae4e30a4babc797a71c20f8 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sat, 27 Jul 2019 12:19:02 +0200 Subject: [PATCH] =?UTF-8?q?thunderbird:=20Fix=20build=20failure=20in=20cra?= =?UTF-8?q?te=20*style=5Ftraits*=20with=20Rust=20=E2=89=A5=201.33?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Compiling style_traits v0.0.1 (/dev/shm/bee-root/thunderbird/thunderbird-60.8.0-0/source/servo/components/style_traits) warning: use of deprecated item 'std::ascii::AsciiExt': use inherent methods instead --> servo/components/style_traits/viewport.rs:10:30 | 10 | #[allow(unused_imports)] use std::ascii::AsciiExt; | ^^^^^^^^^^^^^^^^^^^^ | = note: #[warn(deprecated)] on by default error: missing documentation for macro --> servo/components/style_traits/values.rs:139:1 | 139 | macro_rules! serialize_function { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: lint level defined here --> servo/components/style_traits/lib.rs:12:22 | 12 | #![deny(unsafe_code, missing_docs)] | ^^^^^^^^^^^^ error: missing documentation for macro --> servo/components/style_traits/values.rs:408:1 | 408 | macro_rules! define_css_keyword_enum { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 2 previous errors error: Could not compile `style_traits`. [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1519629 --- thunderbird.be0 | 1 + 1 file changed, 1 insertion(+) diff --git a/thunderbird.be0 b/thunderbird.be0 index fc28fc8e6..dc9861852 100755 --- a/thunderbird.be0 +++ b/thunderbird.be0 @@ -10,6 +10,7 @@ SRCURL[0]="https://ftp.mozilla.org/pub/thunderbird/releases/${PKGVERSION}/source mee_patch() { start_cmd sed -i -e '/#!\[deny(missing_docs)\]/d' ${S}/servo/components/style/lib.rs + start_cmd sed -i -e 's/#!\[deny(unsafe_code, missing_docs)\]/#!\[deny(unsafe_code)\]/g' ${S}/servo/components/style_traits/lib.rs } mee_configure() {