summaryrefslogtreecommitdiff
path: root/experimental/firefox-esr/rust-1.33.0.patch
diff options
context:
space:
mode:
authormultiplexd <multi@in-addr.xyz>2019-04-18 18:32:42 +0000
committermultiplexd <multi@in-addr.xyz>2019-05-09 21:31:56 +0000
commit4f60baec728efaea4bbe929be6c3fd8c559fda49 (patch)
tree0bdcebbe677b6c90ff49cbe2a0d8f523be52316d /experimental/firefox-esr/rust-1.33.0.patch
parent70e535f4073f219b6905fe82326ac1563d5c09ad (diff)
downloadpackages-4f60baec728efaea4bbe929be6c3fd8c559fda49.tar.gz
packages-4f60baec728efaea4bbe929be6c3fd8c559fda49.tar.bz2
packages-4f60baec728efaea4bbe929be6c3fd8c559fda49.tar.xz
packages-4f60baec728efaea4bbe929be6c3fd8c559fda49.zip
experimental/firefox-esr: bump to 60.6.1, fix building with rust 1.33.0
Diffstat (limited to 'experimental/firefox-esr/rust-1.33.0.patch')
-rw-r--r--experimental/firefox-esr/rust-1.33.0.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/experimental/firefox-esr/rust-1.33.0.patch b/experimental/firefox-esr/rust-1.33.0.patch
new file mode 100644
index 000000000..d74ade170
--- /dev/null
+++ b/experimental/firefox-esr/rust-1.33.0.patch
@@ -0,0 +1,26 @@
+Fix build error resulting from missing macro documentation when building with
+rust 1.33.0.
+
+diff -urw firefox-60.6.1-old/servo/components/style/lib.rs firefox-60.6.1/servo/components/style/lib.rs
+--- firefox-60.6.1-old/servo/components/style/lib.rs 2019-03-22 05:01:07.000000000 +0000
++++ firefox-60.6.1/servo/components/style/lib.rs 2019-04-18 18:17:26.229986934 +0000
+@@ -23,7 +23,6 @@
+ //! [cssparser]: ../cssparser/index.html
+ //! [selectors]: ../selectors/index.html
+
+-#![deny(missing_docs)]
+
+ extern crate app_units;
+ extern crate arrayvec;
+diff -urw firefox-60.6.1-old/servo/components/style_traits/lib.rs firefox-60.6.1/servo/components/style_traits/lib.rs
+--- firefox-60.6.1-old/servo/components/style_traits/lib.rs 2019-03-22 05:01:07.000000000 +0000
++++ firefox-60.6.1/servo/components/style_traits/lib.rs 2019-04-18 18:17:18.439987016 +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;