diff --git a/srcpkgs/chroot-grep/patches/efgrep-remove-warning.patch b/srcpkgs/chroot-grep/patches/efgrep-remove-warning.patch new file mode 100644 index 00000000000..6371301688f --- /dev/null +++ b/srcpkgs/chroot-grep/patches/efgrep-remove-warning.patch @@ -0,0 +1,10 @@ +since 3.8, egrep and fgrep print a warning which can cause many issues with +programs not expecting this behaviour + +--- a/src/egrep.sh ++++ b/src/egrep.sh +@@ -1,4 +1,3 @@ + #!@SHELL@ + cmd=${0##*/} +-echo "$cmd: warning: $cmd is obsolescent; using @grep@ @option@" >&2 + exec @grep@ @option@ "$@" diff --git a/srcpkgs/chroot-grep/template b/srcpkgs/chroot-grep/template index 6a99116d4b5..7b68ca9348b 100644 --- a/srcpkgs/chroot-grep/template +++ b/srcpkgs/chroot-grep/template @@ -1,7 +1,7 @@ # Template file for 'chroot-grep' pkgname=chroot-grep version=3.8 -revision=1 +revision=2 bootstrap=yes build_style=gnu-configure configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"