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 8A4AF138359 for ; Fri, 14 Aug 2020 09:35:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C810FE081E; Fri, 14 Aug 2020 09:35:47 +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 AE6C2E081E for ; Fri, 14 Aug 2020 09:35:47 +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 0429634E3F9 for ; Fri, 14 Aug 2020 09:35:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97FCB314 for ; Fri, 14 Aug 2020 09:35:44 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1597397721.bafe11f5e8beb6ee1fe5e344aba517a22bc0cf9f.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qmerge.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: bafe11f5e8beb6ee1fe5e344aba517a22bc0cf9f X-VCS-Branch: master Date: Fri, 14 Aug 2020 09:35:44 +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: d6cb69e5-8717-4436-b78f-54b994a35bcc X-Archives-Hash: 50bb0cb6cf5e419e7a15d5e13345bde2 commit: bafe11f5e8beb6ee1fe5e344aba517a22bc0cf9f Author: Joakim Tjernlund infinera com> AuthorDate: Tue Aug 11 14:45:21 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri Aug 14 09:35:21 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=bafe11f5 qmerge: Impl. best_version() Signed-off-by: Joakim Tjernlund infinera.com> Signed-off-by: Fabian Groffen gentoo.org> qmerge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmerge.c b/qmerge.c index 80c34a0..2b1d082 100644 --- a/qmerge.c +++ b/qmerge.c @@ -651,7 +651,7 @@ pkg_run_func_at(int dirfd, const char *vdb_path, const char *phases, const char "debug-print-section() { :; }\n" /* Not quite right */ "has_version() { [ -n \"$(qlist -ICqe \"$1\")\" ]; }\n" - /* best_version() */ + "best_version() { qlist -ICqev \"$1\" }\n" "use() { useq \"$@\"; }\n" "usex() { useq \"$1\" && echo \"${2-yes}$4\" || echo \"${3-no}$5\"; }\n" "useq() { hasq \"$1\" ${USE}; }\n"