From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D0A0359CB2 for ; Sun, 17 Apr 2016 17:04:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CD8E21C008; Sun, 17 Apr 2016 17:04:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 384F421C008 for ; Sun, 17 Apr 2016 17:04:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9AFC340A03 for ; Sun, 17 Apr 2016 17:04:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 664D07E for ; Sun, 17 Apr 2016 17:04:00 +0000 (UTC) From: "Davide Pesavento" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Davide Pesavento" Message-ID: <1460912539.9c575cb9e3ed2cefc2ec0c2324f60bcd03af2d35.pesa@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/qt4-build-multilib.eclass X-VCS-Directories: eclass/ X-VCS-Committer: pesa X-VCS-Committer-Name: Davide Pesavento X-VCS-Revision: 9c575cb9e3ed2cefc2ec0c2324f60bcd03af2d35 X-VCS-Branch: master Date: Sun, 17 Apr 2016 17:04:00 +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-Archives-Salt: 6eda87c4-b955-4121-8750-df75df49582f X-Archives-Hash: 6cbbc6edbe27621bdd057bb266aeada5 commit: 9c575cb9e3ed2cefc2ec0c2324f60bcd03af2d35 Author: Davide Pesavento gentoo org> AuthorDate: Sun Apr 17 17:02:19 2016 +0000 Commit: Davide Pesavento gentoo org> CommitDate: Sun Apr 17 17:02:19 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c575cb9 qt4-build-multilib.eclass: prepare configure for gcc-6 and beyond eclass/qt4-build-multilib.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/qt4-build-multilib.eclass b/eclass/qt4-build-multilib.eclass index 51a2f30..8007f86 100644 --- a/eclass/qt4-build-multilib.eclass +++ b/eclass/qt4-build-multilib.eclass @@ -190,6 +190,10 @@ qt4-build-multilib_src_prepare() { append-flags -mminimal-toc fi + # Teach configure about gcc-6 and later + sed -i -e 's:5\*|:[5-9]*|:' \ + configure || die "sed gcc version failed" + # Read also AR from the environment sed -i -e 's/^SYSTEM_VARIABLES="/&AR /' \ configure || die "sed SYSTEM_VARIABLES failed"