From bd152f905f4f6d4de2f4ee11809b38cf41e2d9ab Mon Sep 17 00:00:00 2001 From: Zach van Rijn Date: Thu, 6 Apr 2023 03:33:12 +0000 Subject: system/zsh: add patch for deprecated egrep usage. fixes #977. Commit 5d9ffc28fc6a0d99338cac0b020e3eac486bccfc bumped grep from 3.7 to 3.10, and 3.8 introduced warnings for use of egrep/fgrep, which were deprecated in 2.5.3 from 2007. These warnings cause zsh test diffs to fail. Patch the tests to avoid deprecated behavior. See also: #976. --- system/zsh/APKBUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'system/zsh/APKBUILD') diff --git a/system/zsh/APKBUILD b/system/zsh/APKBUILD index 5aaa40f26..6ae71a896 100644 --- a/system/zsh/APKBUILD +++ b/system/zsh/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Dan Theisen pkgname=zsh pkgver=5.8.1 -pkgrel=0 +pkgrel=1 pkgdesc="A very advanced and programmable command interpreter (shell)" url="https://www.zsh.org/" arch="all" @@ -14,6 +14,8 @@ makedepends_host="ncurses-dev pcre-dev utmps-dev" install="zsh.post-install zsh.post-upgrade zsh.pre-deinstall" # Note the custom fetch() function source="https://www.zsh.org/pub/$pkgname-$pkgver.tar.xz + fix-deprecated-egrep.patch + skel zprofile zshrc @@ -180,6 +182,7 @@ _submv() { } sha512sums="f54a5a47ed15d134902613f6169c985680afc45a67538505e11b66b348fcb367145e9b8ae2d9eac185e07ef5f97254b85df01ba97294002a8c036fd02ed5e76d zsh-5.8.1.tar.xz +fdb5c46637c7e981c0889ea9f3acd450dcd51deab57bbce11c3778c0811a36fe16dfbe06aa997c1eaa4e5c056e99fb747d4a2c93b72b9acad8e590923bfaa4fe fix-deprecated-egrep.patch d820fcf65bb3c52f23e968110b5df1188fc0b64079312f64d22ffe35de3b4f3055d4d629b3b0f97a1bfaddf62dbc80676af31c3a1a79645632082abfc854cf97 skel 63167188e22bf8933eb420a5ba068ab897531b90c8d8b8ec892f26a9180267a971013046a72b810d5b9d3add427cf650df608b0e008cd0789681ed1371b172c3 zprofile 1675e016f97333cad89b587f4292d81b6bc10e27b75482e3e0c3808539c95bd49b907b6579fb98d817f77f2f2384c0df5afa3e2b6f43b6ae9b466925cd9ccffc zshrc" -- cgit v1.2.3-70-g09d2