Accepting request 690073 from mozilla:Factory

old patch was missing a piece

- Add patch to fix build using rust-1.33: (boo#1130694)
  * mozilla-bmo1519629.patch (bmo#1519629)

OBS-URL: https://build.opensuse.org/request/show/690073
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MozillaThunderbird?expand=0&rev=209
This commit is contained in:
Dominique Leuenberger 2019-04-02 07:19:54 +00:00 committed by Git OBS Bridge
commit 59eb70e82c
3 changed files with 40 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Mar 30 11:36:41 UTC 2019 - Manfred Hollstein <manfred.h@gmx.net>
- Add patch to fix build using rust-1.33: (boo#1130694)
* mozilla-bmo1519629.patch (bmo#1519629)
-------------------------------------------------------------------
Mon Mar 25 12:08:23 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -122,6 +122,7 @@ Patch8: mozilla-bmo1464766.patch
Patch9: mozilla-i586-DecoderDoctorLogger.patch
Patch10: mozilla-i586-domPrefs.patch
Patch11: mozilla-bmo1463035.patch
Patch12: mozilla-bmo1519629.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: coreutils fileutils textutils /bin/sh
Recommends: libcanberra0
@ -205,6 +206,7 @@ symbols meant for upload to Mozilla's crash collector database.
%patch10 -p1
%endif
%patch11 -p1
%patch12 -p1
%build
# no need to add build time to binaries

32
mozilla-bmo1519629.patch Normal file
View File

@ -0,0 +1,32 @@
diff -rup thunderbird-60.6.1.orig/servo/components/style/lib.rs thunderbird-60.6.1/servo/components/style/lib.rs
--- thunderbird-60.6.1.orig/servo/components/style/lib.rs 2019-03-25 02:38:41.000000000 +0100
+++ thunderbird-60.6.1/servo/components/style/lib.rs 2019-03-30 14:46:10.491001809 +0100
@@ -23,7 +23,7 @@
//! [cssparser]: ../cssparser/index.html
//! [selectors]: ../selectors/index.html
-#![deny(missing_docs)]
+/// #![deny(missing_docs)]
extern crate app_units;
extern crate arrayvec;
diff -rup thunderbird-60.6.1.orig/servo/components/style_traits/values.rs thunderbird-60.6.1/servo/components/style_traits/values.rs
--- thunderbird-60.6.1.orig/servo/components/style_traits/values.rs 2019-03-25 02:38:43.000000000 +0100
+++ thunderbird-60.6.1/servo/components/style_traits/values.rs 2019-03-30 12:31:55.070634646 +0100
@@ -135,6 +135,7 @@ where
}
}
+/// Documentation needed here, but the macro appears to be unused anyway...
#[macro_export]
macro_rules! serialize_function {
($dest: expr, $name: ident($( $arg: expr, )+)) => {
@@ -404,6 +405,8 @@ impl_to_css_for_predefined_type!(::csspa
impl_to_css_for_predefined_type!(::cssparser::Color);
impl_to_css_for_predefined_type!(::cssparser::UnicodeRange);
+
+/// Define an enum type with unit variants that each correspond to a CSS keyword.
#[macro_export]
macro_rules! define_css_keyword_enum {
(pub enum $name:ident { $($variant:ident = $css:expr,)+ }) => {