chroot-grep: patch out problematic warnings in egrep and fgrep.
This commit is contained in:
10
srcpkgs/chroot-grep/patches/efgrep-remove-warning.patch
Normal file
10
srcpkgs/chroot-grep/patches/efgrep-remove-warning.patch
Normal file
@@ -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@ "$@"
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'chroot-grep'
|
# Template file for 'chroot-grep'
|
||||||
pkgname=chroot-grep
|
pkgname=chroot-grep
|
||||||
version=3.8
|
version=3.8
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"
|
configure_args="--disable-perl-regexp --disable-nls ac_cv_path_GREP=grep"
|
||||||
|
|||||||
Reference in New Issue
Block a user