From 59a2cad44782eb04a304d0b7a1022570d08477b0 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 15 Mar 2023 19:11:19 +0800 Subject: [PATCH] grep: upgrade 3.8 -> 3.9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bug fixes ========== With -P, some non-ASCII UTF8 characters were not recognized as word-constituent due to our omission of the PCRE2_UCP flag. E.g., given f(){ echo Perú|LC_ALL=en_US.UTF-8 grep -Po "$1"; } and this command, echo $(f 'r\w'):$(f '.\b'), before it would print ":r". After the fix, it prints the correct results: "rú:ú". When given multiple patterns the last of which has a back-reference, grep no longer sometimes mistakenly matches lines in some cases. [Bug#36148#13 introduced in grep 3.4] Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-extended/grep/{grep_3.8.bb => grep_3.9.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-extended/grep/{grep_3.8.bb => grep_3.9.bb} (94%) diff --git a/meta/recipes-extended/grep/grep_3.8.bb b/meta/recipes-extended/grep/grep_3.9.bb similarity index 94% rename from meta/recipes-extended/grep/grep_3.8.bb rename to meta/recipes-extended/grep/grep_3.9.bb index be2caaa9204..3c39a5fb56d 100644 --- a/meta/recipes-extended/grep/grep_3.8.bb +++ b/meta/recipes-extended/grep/grep_3.9.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.xz" -SRC_URI[sha256sum] = "498d7cc1b4fb081904d87343febb73475cf771e424fb7e6141aff66013abc382" +SRC_URI[sha256sum] = "abcd11409ee23d4caf35feb422e53bbac867014cfeed313bb5f488aca170b599" inherit autotools gettext texinfo pkgconfig -- 2.47.3