From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:34205) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyxq7-0001Hw-Jk for guix-patches@gnu.org; Tue, 04 Feb 2020 08:02:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyxq6-0008Sb-CZ for guix-patches@gnu.org; Tue, 04 Feb 2020 08:02:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyxq6-0008S3-9F for guix-patches@gnu.org; Tue, 04 Feb 2020 08:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyxq6-0006mc-6Y for guix-patches@gnu.org; Tue, 04 Feb 2020 08:02:02 -0500 Subject: [bug#39414] [PATCH 1/2] gnu: commencement: Avoid hard-coded GCC version numbers. References: <20200204125314.27494-1-ludo@gnu.org> In-Reply-To: <20200204125314.27494-1-ludo@gnu.org> Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Tue, 4 Feb 2020 14:00:41 +0100 Message-Id: <20200204130042.27757-1-ludo@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39414@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , janneke@gnu.org * gnu/packages/commencement.scm (gcc-mesboot1, gcc-mesboot): Use 'package-version' instead of hard-coding the version number. --- gnu/packages/commencement.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 851bb02163..f011891725 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -938,7 +938,7 @@ ac_cv_c_float_format='IEEE (little-endian)' (package (inherit gcc-mesboot0) (name "gcc-mesboot1") - (version "4.7.4") + (version (package-version gcc-4.7)) (source (bootstrap-origin (origin (inherit (package-source gcc-4.7)) (patches (search-patches "gcc-boot-4.7.4.patch"))))) @@ -1265,7 +1265,7 @@ exec " gcc "/bin/" program (package (inherit gcc-mesboot1) (name "gcc-mesboot") - (version "4.9.4") + (version (package-version gcc-4.9)) (source (bootstrap-origin (package-source gcc-4.9))) (native-inputs `(("binutils" ,binutils-mesboot) ("gcc-wrapper" ,gcc-mesboot1-wrapper) -- 2.25.0