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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CC80C158020 for ; Wed, 7 Dec 2022 20:46:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8CA3E07D1; Wed, 7 Dec 2022 20:46:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8CA03E07D1 for ; Wed, 7 Dec 2022 20:46:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E9CD340E82 for ; Wed, 7 Dec 2022 20:46:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A17EA76C for ; Wed, 7 Dec 2022 20:46:13 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1670445963.afe80def609c91d72df73837ce2c51fed8b69f28.sam@gentoo> Subject: [gentoo-commits] proj/autotools-wrappers:main commit in: / X-VCS-Repository: proj/autotools-wrappers X-VCS-Files: ac-wrapper.sh X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: afe80def609c91d72df73837ce2c51fed8b69f28 X-VCS-Branch: main Date: Wed, 7 Dec 2022 20:46:13 +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: c43ca20f-2529-487c-99bd-74b743ab5b84 X-Archives-Hash: 423bbf063faf898bbbedb9d3d70dd46f commit: afe80def609c91d72df73837ce2c51fed8b69f28 Author: Arsen Arsenović aarsen me> AuthorDate: Wed Dec 7 20:43:47 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Dec 7 20:46:03 2022 +0000 URL: https://gitweb.gentoo.org/proj/autotools-wrappers.git/commit/?id=afe80def ac-wrapper.sh: fix autoconf regex We need to optionally match the ., not require digits following period in version group. Bug: https://bugs.gentoo.org/870169 Fixes: 6f9e65b68174b938714100f34f399844f8d2cb93 Signed-off-by: Arsen Arsenović aarsen.me> Signed-off-by: Sam James gentoo.org> ac-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ac-wrapper.sh b/ac-wrapper.sh index fb10d1c..9499ace 100755 --- a/ac-wrapper.sh +++ b/ac-wrapper.sh @@ -147,7 +147,7 @@ acprereq_version() { } generated_version() { - local re='^# Generated (by (GNU )?Autoconf|automatically using autoconf version) ([0-9.]+)\..*' + local re='^# Generated (by (GNU )?Autoconf|automatically using autoconf version) (([0-9]+.)+[0-9]+).*$' sed -n -E "/${re}/{s:${re}:\3:;p;q}" "$@" }