aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-10-15 08:23:32 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-10-15 08:23:35 +0000
commitea8a46f5cfa2262e0163209d4421435d39ecc16d (patch)
tree9234dc5ad94299b9723dfd79b6a4cfe73d8017b0
parentbb2ead4d42fffcadac202fb9221533edb17cc442 (diff)
downloadports-ea8a46f5cfa2262e0163209d4421435d39ecc16d.tar.gz
ports-ea8a46f5cfa2262e0163209d4421435d39ecc16d.zip
textproc/gnugrep: update GNU grep to the latest version 3.7.
Reported by: portscout
-rw-r--r--textproc/gnugrep/Makefile2
-rw-r--r--textproc/gnugrep/distinfo6
-rw-r--r--textproc/gnugrep/files/patch-configure20
3 files changed, 24 insertions, 4 deletions
diff --git a/textproc/gnugrep/Makefile b/textproc/gnugrep/Makefile
index 1ad7dd901b9e..5077afc5f7a8 100644
--- a/textproc/gnugrep/Makefile
+++ b/textproc/gnugrep/Makefile
@@ -1,7 +1,7 @@
# Created by: Gabor Kovesdan <gabor@FreeBSD.org>
PORTNAME= grep
-PORTVERSION= 3.6
+PORTVERSION= 3.7
CATEGORIES= textproc
MASTER_SITES= GNU
PKGNAMEPREFIX= gnu
diff --git a/textproc/gnugrep/distinfo b/textproc/gnugrep/distinfo
index 42c268340904..7933d95b9929 100644
--- a/textproc/gnugrep/distinfo
+++ b/textproc/gnugrep/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1604896813
-SHA256 (grep-3.6.tar.xz) = 667e15e8afe189e93f9f21a7cd3a7b3f776202f417330b248c2ad4f997d9373e
-SIZE (grep-3.6.tar.xz) = 1589412
+TIMESTAMP = 1628970999
+SHA256 (grep-3.7.tar.xz) = 5c10da312460aec721984d5d83246d24520ec438dd48d7ab5a05dbc0d6d6823c
+SIZE (grep-3.7.tar.xz) = 1641196
diff --git a/textproc/gnugrep/files/patch-configure b/textproc/gnugrep/files/patch-configure
new file mode 100644
index 000000000000..03c89bad1907
--- /dev/null
+++ b/textproc/gnugrep/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2021-08-14 19:53:52 UTC
++++ configure
+@@ -35665,7 +35665,7 @@ else $as_nop
+ elxsi | \
+ fr30 | \
+ h8300 | \
+- i?86 | x86_64 | \
++ i?86 | x86_64 | amd64 | \
+ i860 | \
+ ia64 | \
+ m32r | \
+@@ -35714,7 +35714,7 @@ find_stack_direction (int *addr, int depth)
+ return dir + dummy;
+ }
+ int
+-main (int argc, char *argv)
++main (int argc, char *argv[])
+ {
+ printf ("%d\n", find_stack_direction (NULL, argc + 20));
+ return 0;