diff options
Diffstat (limited to 'source/xap/mozilla-thunderbird')
-rwxr-xr-x | source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild | 3 | ||||
-rw-r--r-- | source/xap/mozilla-thunderbird/unbreakdocs.diff | 38 |
2 files changed, 41 insertions, 0 deletions
diff --git a/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild b/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild index 9f30d1c33..b03c373b7 100755 --- a/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild +++ b/source/xap/mozilla-thunderbird/mozilla-thunderbird.SlackBuild @@ -161,6 +161,9 @@ cd thunderbird-$RELEASEVER || exit 1 # Retain GTK+ v2 scrolling behavior: zcat $CWD/tb.ui.scrollToClick.diff.gz | patch -p2 --verbose || exit 1 +# Fix building with latest Rust: +zcat $CWD/unbreakdocs.diff.gz | patch -p1 --verbose || exit 1 + # Fetch localization, if requested: if [ ! -z $MOZLOCALIZE ]; then LOC_TAG="THUNDERBIRD_$( echo $VERSION | tr \. _ )_RELEASE" diff --git a/source/xap/mozilla-thunderbird/unbreakdocs.diff b/source/xap/mozilla-thunderbird/unbreakdocs.diff new file mode 100644 index 000000000..b76dc71d7 --- /dev/null +++ b/source/xap/mozilla-thunderbird/unbreakdocs.diff @@ -0,0 +1,38 @@ + +https://lists.freebsd.org/pipermail/freebsd-gecko/2019-March/009206.html +https://github.com/grahamperrin/Waterfox/pull/7/files + + +diff -urN firefox-60.6.0_orig/servo/components/style/lib.rs firefox-60.6.0/servo/components/style/lib.rs +--- firefox-60.6.0_orig/servo/components/style/lib.rs 2019-03-13 21:33:48.000000000 +0000 ++++ firefox-60.6.0/servo/components/style/lib.rs 2019-03-20 13:06:18.611024453 +0000 +@@ -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; +@@ -148,7 +148,7 @@ + /// Generated from the properties.mako.rs template by build.rs + #[macro_use] + #[allow(unsafe_code)] +-#[deny(missing_docs)] ++// #[deny(missing_docs)] + pub mod properties { + include!(concat!(env!("OUT_DIR"), "/properties.rs")); + } +diff -urN firefox-60.6.0_orig/servo/components/style_traits/lib.rs firefox-60.6.0/servo/components/style_traits/lib.rs +--- firefox-60.6.0_orig/servo/components/style_traits/lib.rs 2019-03-13 21:33:48.000000000 +0000 ++++ firefox-60.6.0/servo/components/style_traits/lib.rs 2019-03-20 13:06:47.137024070 +0000 +@@ -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; |