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 A171E138350 for ; Sun, 16 Feb 2020 03:07:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7D7D0E0869; Sun, 16 Feb 2020 03:07:26 +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 4C3D3E0869 for ; Sun, 16 Feb 2020 03:07:26 +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 E8DD234ED4B for ; Sun, 16 Feb 2020 03:07:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 918F2114 for ; Sun, 16 Feb 2020 03:07:22 +0000 (UTC) From: "Jory Pratt" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jory Pratt" Message-ID: <1581822437.1271c2e45284b16f2083fadbadaa57b405b94f1c.anarchy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/files/, www-client/firefox/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/firefox/files/firefox-73.0_fix_llvm9.patch www-client/firefox/firefox-73.0.ebuild X-VCS-Directories: www-client/firefox/ www-client/firefox/files/ X-VCS-Committer: anarchy X-VCS-Committer-Name: Jory Pratt X-VCS-Revision: 1271c2e45284b16f2083fadbadaa57b405b94f1c X-VCS-Branch: master Date: Sun, 16 Feb 2020 03:07:22 +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: ca3d0b52-be1f-49ee-a5f3-961334ad2e34 X-Archives-Hash: 0ce1f978d54397b065c9484876a7aaf3 commit: 1271c2e45284b16f2083fadbadaa57b405b94f1c Author: Jory Pratt gentoo org> AuthorDate: Sun Feb 16 03:05:42 2020 +0000 Commit: Jory Pratt gentoo org> CommitDate: Sun Feb 16 03:07:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1271c2e4 www-client/firefox: Fix llvm9 build failure Closes: https://bugs.gentoo.org/704924 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jory Pratt gentoo.org> www-client/firefox/files/firefox-73.0_fix_llvm9.patch | 19 +++++++++++++++++++ www-client/firefox/firefox-73.0.ebuild | 1 + 2 files changed, 20 insertions(+) diff --git a/www-client/firefox/files/firefox-73.0_fix_llvm9.patch b/www-client/firefox/files/firefox-73.0_fix_llvm9.patch new file mode 100644 index 00000000000..e12417e6a02 --- /dev/null +++ b/www-client/firefox/files/firefox-73.0_fix_llvm9.patch @@ -0,0 +1,19 @@ +diff --git a/config/gcc-stl-wrapper.template.h b/config/gcc-stl-wrapper.template.h +--- a/config/gcc-stl-wrapper.template.h ++++ b/config/gcc-stl-wrapper.template.h +@@ -32,6 +32,14 @@ + # define moz_dont_include_mozalloc_for_cstdlib + #endif + ++#ifndef moz_dont_include_mozalloc_for_type_traits ++# define moz_dont_include_mozalloc_for_type_traits ++#endif ++ ++#ifndef moz_dont_include_mozalloc_for_limits ++# define moz_dont_include_mozalloc_for_limits ++#endif ++ + // Include mozalloc after the STL header and all other headers it includes + // have been preprocessed. + #if !defined(MOZ_INCLUDE_MOZALLOC_H) && \ + diff --git a/www-client/firefox/firefox-73.0.ebuild b/www-client/firefox/firefox-73.0.ebuild index c4fb0b23ad1..6e104cb56f9 100644 --- a/www-client/firefox/firefox-73.0.ebuild +++ b/www-client/firefox/firefox-73.0.ebuild @@ -258,6 +258,7 @@ src_prepare() { eapply "${WORKDIR}/firefox" eapply "${FILESDIR}/${PN}-73.0_fix_lto_pgo_builds.patch" + eapply "${FILESDIR}/${PN}-73.0_fix_llvm9.patch" # Allow user to apply any additional patches without modifing ebuild eapply_user