aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2018-02-01 05:37:46 +0800
committerjbeich <jbeich@FreeBSD.org>2018-02-01 05:37:46 +0800
commit4586561e37be891c48028a32c487a15fe8683fc9 (patch)
tree47741ac3b2580e96215e35f260211c1786354d99 /www
parentd5923e7ced0f9bba513a5dc1749216029e4f8b1c (diff)
downloadfreebsd-ports-gnome-4586561e37be891c48028a32c487a15fe8683fc9.tar.gz
freebsd-ports-gnome-4586561e37be891c48028a32c487a15fe8683fc9.tar.zst
freebsd-ports-gnome-4586561e37be891c48028a32c487a15fe8683fc9.zip
www/firefox: unbreak with Rust 1.25
error: unnecessary parentheses around function argument --> servo/ports/geckolib/glue.rs:4391:36 | 4391 | let name = unsafe { Atom::from((&*name)) }; | ^^^^^^^^ help: remove these parentheses | note: lint level defined here --> servo/ports/geckolib/lib.rs:5:9 | 5 | #![deny(warnings)] | ^^^^^^^^ = note: #[deny(unused_parens)] implied by #[deny(warnings)] Obtained from: upstream (Firefox 59)
Diffstat (limited to 'www')
-rw-r--r--www/firefox/files/patch-bug143461942
-rw-r--r--www/waterfox/files/patch-bug143461954
2 files changed, 96 insertions, 0 deletions
diff --git a/www/firefox/files/patch-bug1434619 b/www/firefox/files/patch-bug1434619
new file mode 100644
index 000000000000..e072d5d5e908
--- /dev/null
+++ b/www/firefox/files/patch-bug1434619
@@ -0,0 +1,42 @@
+commit 98c3940f8b16
+Author: Simon Sapin <simon.sapin@exyr.org>
+Date: Wed Jan 31 11:01:26 2018 -0600
+
+ servo: Merge #19914 - Remove #![deny(warnings)] (from servo:dont-deny); r=nox
+
+ We already have https://github.com/servo/servo/pull/19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings:
+
+ https://bugzilla.mozilla.org/show_bug.cgi?id=1434619
+
+ Source-Repo: https://github.com/servo/servo
+ Source-Revision: 7546c37f1e921a112fef5828c59c6738a98c3f30
+---
+ servo/components/style/lib.rs | 1 -
+ servo/ports/geckolib/lib.rs | 1 -
+ servo/support/gecko/nsstring/src/lib.rs | 1 -
+ 3 files changed, 3 deletions(-)
+
+diff --git servo/ports/geckolib/lib.rs servo/ports/geckolib/lib.rs
+index ca57307c245a..15c42509a811 100644
+--- servo/ports/geckolib/lib.rs
++++ servo/ports/geckolib/lib.rs
+@@ -2,7 +2,6 @@
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+-#![deny(warnings)]
+
+ extern crate cssparser;
+ extern crate env_logger;
+diff --git servo/support/gecko/nsstring/src/lib.rs servo/support/gecko/nsstring/src/lib.rs
+index 0321e38f8bbf..d5c5f147c480 100644
+--- servo/support/gecko/nsstring/src/lib.rs
++++ servo/support/gecko/nsstring/src/lib.rs
+@@ -113,7 +113,6 @@
+ //! which invoke their member's destructors through C++ code.
+
+ #![allow(non_camel_case_types)]
+-#![deny(warnings)]
+
+ #[macro_use]
+ extern crate bitflags;
diff --git a/www/waterfox/files/patch-bug1434619 b/www/waterfox/files/patch-bug1434619
new file mode 100644
index 000000000000..6ae1ba656ccb
--- /dev/null
+++ b/www/waterfox/files/patch-bug1434619
@@ -0,0 +1,54 @@
+commit 98c3940f8b16
+Author: Simon Sapin <simon.sapin@exyr.org>
+Date: Wed Jan 31 11:01:26 2018 -0600
+
+ servo: Merge #19914 - Remove #![deny(warnings)] (from servo:dont-deny); r=nox
+
+ We already have https://github.com/servo/servo/pull/19612 to deny warnings at the time of landing into master. But it’s not useful to break the build when later compiler with a more recent Rust version that has introduced new warnings:
+
+ https://bugzilla.mozilla.org/show_bug.cgi?id=1434619
+
+ Source-Repo: https://github.com/servo/servo
+ Source-Revision: 7546c37f1e921a112fef5828c59c6738a98c3f30
+---
+ servo/components/style/lib.rs | 1 -
+ servo/ports/geckolib/lib.rs | 1 -
+ servo/support/gecko/nsstring/src/lib.rs | 1 -
+ 3 files changed, 3 deletions(-)
+
+diff --git servo/components/style/lib.rs servo/components/style/lib.rs
+index d789c1d3305d..8a343496e6de 100644
+--- servo/components/style/lib.rs
++++ servo/components/style/lib.rs
+@@ -23,7 +23,6 @@
+ //! [cssparser]: ../cssparser/index.html
+ //! [selectors]: ../selectors/index.html
+
+-#![deny(warnings)]
+ #![deny(missing_docs)]
+
+ #![recursion_limit = "500"] // For define_css_keyword_enum! in -moz-appearance
+diff --git servo/ports/geckolib/lib.rs servo/ports/geckolib/lib.rs
+index ca57307c245a..15c42509a811 100644
+--- servo/ports/geckolib/lib.rs
++++ servo/ports/geckolib/lib.rs
+@@ -2,7 +2,6 @@
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+-#![deny(warnings)]
+
+ extern crate cssparser;
+ extern crate env_logger;
+diff --git servo/support/gecko/nsstring/src/lib.rs servo/support/gecko/nsstring/src/lib.rs
+index 0321e38f8bbf..d5c5f147c480 100644
+--- servo/components/style/gecko_bindings/nsstring_vendor/src/lib.rs
++++ servo/components/style/gecko_bindings/nsstring_vendor/src/lib.rs
+@@ -113,7 +113,6 @@
+ //! which invoke their member's destructors through C++ code.
+
+ #![allow(non_camel_case_types)]
+-#![deny(warnings)]
+
+ #[macro_use]
+ extern crate bitflags;