sysutils/ggrep: update to 3.8

Changes in behavior:
* The -P option is now based on PCRE2.
* The egrep and fgrep commands now warn that they are obsolescent and
  should be replaced by grep -E and grep -F.
* The confusing GREP_COLOR environment variable is now obsolescent.
* Regular expressions with stray backslashes now cause warnings.
* Regular expressions or subexpressions that start with a repetition
  operator now also cause warnings.
* Regular expressions like [:space:] are now errors even if
  POSIXLY_CORRECT is set.
This commit is contained in:
naddy 2022-10-27 20:43:00 +00:00
parent 0fb863ad80
commit 8801d1640b
4 changed files with 11 additions and 27 deletions

View File

@ -1,8 +1,7 @@
COMMENT= GNU versions of grep pattern matching utilities
DISTNAME= grep-3.7
DISTNAME= grep-3.8
PKGNAME= g${DISTNAME}
REVISION = 0
CATEGORIES= sysutils
HOMEPAGE= https://www.gnu.org/software/grep/grep.html
@ -15,8 +14,8 @@ MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
EXTRACT_SUFX= .tar.xz
LIB_DEPENDS= devel/gettext,-runtime devel/pcre
WANTLIB= c iconv intl pcre
LIB_DEPENDS= devel/gettext,-runtime devel/pcre2
WANTLIB= c iconv intl pcre2-8
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --program-prefix=g

View File

@ -1,2 +1,2 @@
SHA256 (grep-3.7.tar.xz) = XBDaMSRgrschmE1dgyRtJFIOxDjdSNerWgXbwNbWgjw=
SIZE (grep-3.7.tar.xz) = 1641196
SHA256 (grep-3.8.tar.xz) = SY18wbT7CBkE2HND/rtzR1z3ceQk+35hQa/2YBOrw4I=
SIZE (grep-3.8.tar.xz) = 1709536

View File

@ -1,19 +0,0 @@
Index: lib/sigsegv.c
--- lib/sigsegv.c.orig
+++ lib/sigsegv.c
@@ -511,7 +511,14 @@ int libsigsegv_version = LIBSIGSEGV_VERSION;
# define SIGSEGV_FAULT_STACKPOINTER scp->sc_regs[29]
-# elif defined __powerpc__ || defined __powerpc64__
+# elif defined(__powerpc64__)
+
+/* See the definition of 'struct sigcontext' and 'struct trapframe' in
+ openbsd-src/sys/arch/powerpc64/include/signal.h. */
+
+# define SIGSEGV_FAULT_STACKPOINTER scp->sc_sp
+
+# elif defined __powerpc__
/* See the definition of 'struct sigcontext' and 'struct trapframe' in
openbsd-src/sys/arch/powerpc/include/signal.h. */

View File

@ -3,8 +3,6 @@ bin/gfgrep
@bin bin/ggrep
@info info/grep.info
@comment lib/charset.alias
@man man/man1/gegrep.1
@man man/man1/gfgrep.1
@man man/man1/ggrep.1
share/locale/af/
share/locale/af/LC_MESSAGES/
@ -30,6 +28,9 @@ share/locale/hu/LC_MESSAGES/grep.mo
share/locale/id/LC_MESSAGES/grep.mo
share/locale/it/LC_MESSAGES/grep.mo
share/locale/ja/LC_MESSAGES/grep.mo
share/locale/ka/
share/locale/ka/LC_MESSAGES/
share/locale/ka/LC_MESSAGES/grep.mo
share/locale/ko/LC_MESSAGES/grep.mo
share/locale/ky/
share/locale/ky/LC_MESSAGES/
@ -49,6 +50,9 @@ share/locale/sk/LC_MESSAGES/grep.mo
share/locale/sl/LC_MESSAGES/grep.mo
share/locale/sr/LC_MESSAGES/grep.mo
share/locale/sv/LC_MESSAGES/grep.mo
share/locale/ta/
share/locale/ta/LC_MESSAGES/
share/locale/ta/LC_MESSAGES/grep.mo
share/locale/th/
share/locale/th/LC_MESSAGES/
share/locale/th/LC_MESSAGES/grep.mo