SHA256
1
0
forked from pool/zsh
zsh/egrep-deprecation.patch
Paolo Perego 5b73c0aed4 - Backport zsh-ab4d62eb975a4c4c51dd35822665050e2ddc6918.patch
and zsh-4c89849c98172c951a9def3690e8647dae76308f.patch and add
  autoconf to build requirements to make the package build with
  GCC 14. [boo#1225958]

If the request is OK, please forward it to Factory soon so that we can
switch the default compiler.

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=251
2024-07-16 08:59:21 +00:00

27 lines
883 B
Diff

Index: zsh-5.9/Test/D07multibyte.ztst
===================================================================
--- zsh-5.9.orig/Test/D07multibyte.ztst
+++ zsh-5.9/Test/D07multibyte.ztst
@@ -6,7 +6,7 @@
unset -m LC_\*
mb_ok=
langs=(en_{US,GB}.{UTF-,utf}8 en.UTF-8
- $(locale -a 2>/dev/null | egrep 'utf8|UTF-8'))
+ ${(M)$(locale -a 2>/dev/null):#*.(utf8|UTF-8)} )
for LANG in $langs; do
if [[ é = ? ]]; then
mb_ok=1
Index: zsh-5.9/Test/E01options.ztst
===================================================================
--- zsh-5.9.orig/Test/E01options.ztst
+++ zsh-5.9/Test/E01options.ztst
@@ -651,7 +651,7 @@
>noktarg1
>0 1
- showopt() { setopt | egrep 'localoptions|ksharrays'; }
+ showopt() { setopt | grep -E 'localoptions|ksharrays'; }
f1() { setopt localoptions ksharrays; showopt }
f2() { setopt ksharrays; showopt }
setopt kshoptionprint