From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1680138359 for ; Sat, 18 Jul 2020 18:43:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A5D4E0935; Sat, 18 Jul 2020 18:43:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 212C9E0935 for ; Sat, 18 Jul 2020 18:43:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42A3D34EE91 for ; Sat, 18 Jul 2020 18:43:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF2C829A for ; Sat, 18 Jul 2020 18:43:17 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1595097795.e4aed962d8b2b13cca1109f0e899df83733f3623.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/seamonkey/, www-client/seamonkey/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/seamonkey/files/seamonkey-2.53.3-rust-1.45.0.patch www-client/seamonkey/seamonkey-2.53.3.ebuild X-VCS-Directories: www-client/seamonkey/ www-client/seamonkey/files/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: e4aed962d8b2b13cca1109f0e899df83733f3623 X-VCS-Branch: master Date: Sat, 18 Jul 2020 18:43:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6600f2c5-f562-4a61-b986-3687494fa48a X-Archives-Hash: 23f478ea4f463ec468d2c458a68c4a8c commit: e4aed962d8b2b13cca1109f0e899df83733f3623 Author: Lars Wendler gentoo org> AuthorDate: Sat Jul 18 18:42:57 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Sat Jul 18 18:43:15 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4aed962 www-client/seamonkey: Fixed build with =dev-lang/rust-1.45.0 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Lars Wendler gentoo.org> .../seamonkey/files/seamonkey-2.53.3-rust-1.45.0.patch | 15 +++++++++++++++ www-client/seamonkey/seamonkey-2.53.3.ebuild | 5 +++++ 2 files changed, 20 insertions(+) diff --git a/www-client/seamonkey/files/seamonkey-2.53.3-rust-1.45.0.patch b/www-client/seamonkey/files/seamonkey-2.53.3-rust-1.45.0.patch new file mode 100644 index 00000000000..e2c6aa20161 --- /dev/null +++ b/www-client/seamonkey/files/seamonkey-2.53.3-rust-1.45.0.patch @@ -0,0 +1,15 @@ +--- seamonkey-2.53.3/mozilla/config/rules.mk ++++ seamonkey-2.53.3/mozilla/config/rules.mk +@@ -871,12 +871,6 @@ + # These flags are passed via `cargo rustc` and only apply to the final rustc + # invocation (i.e., only the top-level crate, not its dependencies). + cargo_rustc_flags = $(CARGO_RUSTCFLAGS) +-ifndef DEVELOPER_OPTIONS +-ifndef MOZ_DEBUG_RUST +-# Enable link-time optimization for release builds. +-cargo_rustc_flags += -C lto +-endif +-endif + + rustflags_override = RUSTFLAGS='$(MOZ_RUST_DEFAULT_FLAGS) $(RUSTFLAGS)' + diff --git a/www-client/seamonkey/seamonkey-2.53.3.ebuild b/www-client/seamonkey/seamonkey-2.53.3.ebuild index 8d4b46d1b78..c81cbe49b6a 100644 --- a/www-client/seamonkey/seamonkey-2.53.3.ebuild +++ b/www-client/seamonkey/seamonkey-2.53.3.ebuild @@ -189,6 +189,11 @@ src_prepare() { edos2unix "${file}" done + if has_version ">=virtual/rust-1.45.0" ; then + einfo "Unbreak build with >=rust-1.45.0, bmo#1640982 ..." + eapply "${FILESDIR}/${PN}-2.53.3-rust-1.45.0.patch" + fi + # Allow user to apply any additional patches without modifing ebuild eapply_user