git: d95b67f64bb7 - main - textproc/ugrep: Update to 3.3.12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Dec 2021 08:33:28 UTC
The branch main has been updated by ashish:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d95b67f64bb7f235344999def74e67a38dd6283b
commit d95b67f64bb7f235344999def74e67a38dd6283b
Author: Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2021-12-18 06:13:19 +0000
Commit: Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2021-12-18 08:10:00 +0000
textproc/ugrep: Update to 3.3.12
Add a diff to fix pager, as popen on FreeBSD does not support
"b". Submitted as patch upstream.
---
textproc/ugrep/Makefile | 2 +-
textproc/ugrep/distinfo | 6 +++---
textproc/ugrep/files/patch-src_ugrep.cpp | 11 +++++++++++
3 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/textproc/ugrep/Makefile b/textproc/ugrep/Makefile
index 6578b426e5bc..e5fd7e2ca7c6 100644
--- a/textproc/ugrep/Makefile
+++ b/textproc/ugrep/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ugrep
DISTVERSIONPREFIX= v
-DISTVERSION= 3.3.11
+DISTVERSION= 3.3.12
CATEGORIES= textproc
MAINTAINER= ashish@FreeBSD.org
diff --git a/textproc/ugrep/distinfo b/textproc/ugrep/distinfo
index bdbccbe7d1b0..96854fb7cbdd 100644
--- a/textproc/ugrep/distinfo
+++ b/textproc/ugrep/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1639149131
-SHA256 (Genivia-ugrep-v3.3.11_GH0.tar.gz) = 4a1c9cb0d2937d0dad5572c91af30e91829359289058dbd34315017638a3719e
-SIZE (Genivia-ugrep-v3.3.11_GH0.tar.gz) = 4311101
+TIMESTAMP = 1639807936
+SHA256 (Genivia-ugrep-v3.3.12_GH0.tar.gz) = 24f7de6d1dc2263a75b455c461c2d04b3a719d4165b6383c99d270b99758878e
+SIZE (Genivia-ugrep-v3.3.12_GH0.tar.gz) = 4312900
diff --git a/textproc/ugrep/files/patch-src_ugrep.cpp b/textproc/ugrep/files/patch-src_ugrep.cpp
new file mode 100644
index 000000000000..e2766a0e159b
--- /dev/null
+++ b/textproc/ugrep/files/patch-src_ugrep.cpp
@@ -0,0 +1,11 @@
+--- src/ugrep.cpp.orig 2021-12-18 06:58:40 UTC
++++ src/ugrep.cpp
+@@ -5717,7 +5717,7 @@ void terminal()
+ // --pager: if output is to a TTY then page through the results
+
+ // open a pipe to a forked pager
+- output = popen(flag_pager, "wb");
++ output = popen(flag_pager, "w");
+ if (output == NULL)
+ error("cannot open pipe to pager", flag_pager);
+