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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E4466138359 for ; Wed, 11 Nov 2020 19:37:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A0BCE0BC2; Wed, 11 Nov 2020 19:37:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 064CBE0BC2 for ; Wed, 11 Nov 2020 19:37:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 78D00340DD7 for ; Wed, 11 Nov 2020 19:37:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BAA21334 for ; Wed, 11 Nov 2020 19:37:16 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1605123432.b64f44870960b1d321a911135687e332ab5d8ac5.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libffi/files/, dev-libs/libffi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libffi/files/libffi-3.3-compiler-vendor-quote.patch dev-libs/libffi/libffi-3.3-r2.ebuild X-VCS-Directories: dev-libs/libffi/files/ dev-libs/libffi/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: b64f44870960b1d321a911135687e332ab5d8ac5 X-VCS-Branch: master Date: Wed, 11 Nov 2020 19:37:16 +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: 26264d66-649a-488d-ad37-0f15cd700dc6 X-Archives-Hash: 494c9b3fda2702fb8ed3fcec9f8d9323 commit: b64f44870960b1d321a911135687e332ab5d8ac5 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Nov 11 19:36:51 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Nov 11 19:37:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b64f4487 dev-libs/libffi: fix vendor detection on 'dash' shell Reported-by: Paolo Pedroni Closes: https://bugs.gentoo.org/753299 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> .../files/libffi-3.3-compiler-vendor-quote.patch | 33 ++++++++++++++++++++++ dev-libs/libffi/libffi-3.3-r2.ebuild | 1 + 2 files changed, 34 insertions(+) diff --git a/dev-libs/libffi/files/libffi-3.3-compiler-vendor-quote.patch b/dev-libs/libffi/files/libffi-3.3-compiler-vendor-quote.patch new file mode 100644 index 00000000000..db5b69ce2db --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.3-compiler-vendor-quote.patch @@ -0,0 +1,33 @@ +https://bugs.gentoo.org/753299 +--- a/testsuite/lib/libffi.exp ++++ b/testsuite/lib/libffi.exp +@@ -287,9 +287,6 @@ proc libffi-init { args } { + verbose "libffi $blddirffi" + + # Which compiler are we building with? +- set tmp [grep "$blddirffi/config.log" "^ax_cv_c_compiler_vendor.*$"] +- regexp -- {^[^=]*=(.*)$} $tmp nil compiler_vendor +- + if { [string match $compiler_vendor "gnu"] } { + set gccdir [lookfor_file $tool_root_dir gcc/libgcc.a] + if {$gccdir != ""} { +--- a/configure.ac ++++ b/configure.ac +@@ -59,6 +59,7 @@ fi + cat > local.exp < local.exp <