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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0ED69158086 for ; Tue, 14 Dec 2021 11:46:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F4242BC006; Tue, 14 Dec 2021 11:46:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B2582BC006 for ; Tue, 14 Dec 2021 11:46:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1246E342E02 for ; Tue, 14 Dec 2021 11:46:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A013D0 for ; Tue, 14 Dec 2021 11:46:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1639482348.1896d50ddab8495c4fb1f116799c0fbf6b22a817.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ghc/, dev-lang/ghc/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/ghc/files/ghc-8.8.4-autoconf-2.71.patch dev-lang/ghc/ghc-8.8.4-r1.ebuild X-VCS-Directories: dev-lang/ghc/files/ dev-lang/ghc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1896d50ddab8495c4fb1f116799c0fbf6b22a817 X-VCS-Branch: master Date: Tue, 14 Dec 2021 11:46:01 +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: 8ba90737-7c58-4136-aea2-cec83a338833 X-Archives-Hash: 5d80e99425e0701c9867cd1059e2d0d4 commit: 1896d50ddab8495c4fb1f116799c0fbf6b22a817 Author: Sam James gentoo org> AuthorDate: Tue Dec 14 11:45:48 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Dec 14 11:45:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1896d50d dev-lang/ghc: fix build with autoconf 2.71 Closes: https://bugs.gentoo.org/829162 Signed-off-by: Sam James gentoo.org> dev-lang/ghc/files/ghc-8.8.4-autoconf-2.71.patch | 22 ++++++++++++++++++++++ dev-lang/ghc/ghc-8.8.4-r1.ebuild | 1 + 2 files changed, 23 insertions(+) diff --git a/dev-lang/ghc/files/ghc-8.8.4-autoconf-2.71.patch b/dev-lang/ghc/files/ghc-8.8.4-autoconf-2.71.patch new file mode 100644 index 000000000000..5de8c6806b79 --- /dev/null +++ b/dev-lang/ghc/files/ghc-8.8.4-autoconf-2.71.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/829162 +https://gitlab.haskell.org/ghc/ghc/-/issues/19655 +https://gitlab.haskell.org/ghc/ghc/-/commit/ad2ef3a13f1eb000eab8e3d64592373b91a52806 + +From: Moritz Angermann +Date: Wed, 17 Feb 2021 21:13:07 +0800 +Subject: [PATCH] [configure] Fix _AC_PROG_CC_99 + +_AC_PROG_CC_99 isn't available anymore in recent autoconf versions. +This broke on aarch64-darwin. +--- a/aclocal.m4 ++++ b/aclocal.m4 +@@ -659,7 +659,7 @@ AC_DEFUN([FP_SET_CFLAGS_C99], + CPPFLAGS="$$3" + unset ac_cv_prog_cc_c99 + dnl perform detection +- _AC_PROG_CC_C99 ++ AC_PROG_CC_C99 + fp_cc_c99="$ac_cv_prog_cc_c99" + case "x$ac_cv_prog_cc_c99" in + x) ;; # noop +GitLab diff --git a/dev-lang/ghc/ghc-8.8.4-r1.ebuild b/dev-lang/ghc/ghc-8.8.4-r1.ebuild index 6254a54371ae..5803cfac6333 100644 --- a/dev-lang/ghc/ghc-8.8.4-r1.ebuild +++ b/dev-lang/ghc/ghc-8.8.4-r1.ebuild @@ -510,6 +510,7 @@ src_prepare() { eapply "${FILESDIR}"/${PN}-7.8.3-prim-lm.patch eapply "${FILESDIR}"/${PN}-8.0.2-no-relax-everywhere.patch eapply "${FILESDIR}"/${PN}-8.4.2-allow-cross-bootstrap.patch + eapply "${FILESDIR}"/${P}-autoconf-2.71.patch # fixed in 8.8.4. See https://gitlab.haskell.org/ghc/ghc/-/blob/ghc-8.8.4-release/configure.ac#L1273 # eapply "${FILESDIR}"/${PN}-8.6.5-numa.patch # rumors say this is fixed properly in 8.8.3. Let's check!