commit:     8246f9809943bf639e34c201273994be63680480
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed May 13 17:09:11 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed May 13 17:11:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8246f980

dev-lang/c-intercal: Work around test failure with gcc 10.

Bug: https://bugs.gentoo.org/722862
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 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 5f04f53c129..bbcc4938fdb 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
 

Reply via email to