From 8246f9809943bf639e34c201273994be63680480 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ulrich=20M=C3=BCller?= Date: Wed, 13 May 2020 19:09:11 +0200 Subject: [PATCH] dev-lang/c-intercal: Work around test failure with gcc 10. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/722862 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Ulrich Müller --- dev-lang/c-intercal/c-intercal-31.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-lang/c-intercal/c-intercal-31.0.ebuild b/dev-lang/c-intercal/c-intercal-31.0.ebuild index 5f04f53c129f..bbcc4938fdb2 100644 --- a/dev-lang/c-intercal/c-intercal-31.0.ebuild +++ b/dev-lang/c-intercal/c-intercal-31.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools elisp-common +inherit autotools elisp-common flag-o-matic # C-INTERCAL uses minor-major ordering of version components and # negative version numbers. We map version components -1, -2, ... @@ -47,6 +47,11 @@ src_prepare() { eautoreconf } +src_configure() { + append-flags -fno-toplevel-reorder #722862 + econf +} + src_compile() { emake -- 2.26.2