From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1093019-garchives=archives.gentoo.org@lists.gentoo.org> 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 5266F138239 for <garchives@archives.gentoo.org>; Sun, 26 May 2019 15:36:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5831EE079E; Sun, 26 May 2019 15:36:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 3833FE079E for <gentoo-commits@lists.gentoo.org>; Sun, 26 May 2019 15:36:12 +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 B84BB3450AD for <gentoo-commits@lists.gentoo.org>; Sun, 26 May 2019 15:36:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E25474D3 for <gentoo-commits@lists.gentoo.org>; Sun, 26 May 2019 15:36:08 +0000 (UTC) From: "Sergei Trofimovich" <slyfox@gentoo.org> 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" <slyfox@gentoo.org> Message-ID: <1558884961.a88ef569b6a663414a4129c926fa696e0e5453d2.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/erlang/, dev-lang/erlang/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/erlang/erlang-21.3-r1.ebuild dev-lang/erlang/files/erlang-21.3-pgo-loop.patch X-VCS-Directories: dev-lang/erlang/files/ dev-lang/erlang/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: a88ef569b6a663414a4129c926fa696e0e5453d2 X-VCS-Branch: master Date: Sun, 26 May 2019 15:36:08 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 473f8540-cce4-4362-b34e-d4ae1aef8a19 X-Archives-Hash: 999c9b75988b11327e42c6de63a64e23 commit: a88ef569b6a663414a4129c926fa696e0e5453d2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Sun May 26 15:35:45 2019 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Sun May 26 15:36:01 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a88ef569 dev-lang/erlang: fix USE=pgo loop, bug #686786 It does not completely recover PGO support but at least stops ./configure from looping indefinitely. Reported-by: Dennis Schridde Bug: https://bugs.gentoo.org/686786 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> dev-lang/erlang/erlang-21.3-r1.ebuild | 1 + dev-lang/erlang/files/erlang-21.3-pgo-loop.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/dev-lang/erlang/erlang-21.3-r1.ebuild b/dev-lang/erlang/erlang-21.3-r1.ebuild index 75e06e5602b..ed159555d82 100644 --- a/dev-lang/erlang/erlang-21.3-r1.ebuild +++ b/dev-lang/erlang/erlang-21.3-r1.ebuild @@ -49,6 +49,7 @@ PATCHES=( "${FILESDIR}/${PN}-add-epmd-pid-file-creation-for-openrc.patch" "${FILESDIR}/${PN}-custom-autoconf.patch" "${FILESDIR}/${PN}-21.3-lto.patch" + "${FILESDIR}/${PN}-21.3-pgo-loop.patch" ) SITEFILE=50"${PN}"-gentoo.el diff --git a/dev-lang/erlang/files/erlang-21.3-pgo-loop.patch b/dev-lang/erlang/files/erlang-21.3-pgo-loop.patch new file mode 100644 index 00000000000..82add992a44 --- /dev/null +++ b/dev-lang/erlang/files/erlang-21.3-pgo-loop.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/686786 + +--- a/erts/configure.in ++++ b/erts/configure.in +@@ -682,7 +682,7 @@ elif test "X$PROFILE_INSTR_GENERATE" = "Xtrue" -a "X$PROFILE_INSTR_USE" = "Xtrue + PROFILE_COMPILER=clang + AC_MSG_RESULT([yes, using -fprofile-instr-generate]) + else +- if $enable_pgo = yes; then ++ if test $enable_pgo = yes; then + AC_MSG_ERROR(cannot use PGO with this compiler) + else + AC_MSG_RESULT([no])