1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

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.
This commit is contained in:
Ashish SHUKLA 2021-12-18 06:13:19 +00:00
parent 757030bdb4
commit d95b67f64b
No known key found for this signature in database
GPG Key ID: C746CFA9E74FA4B0
3 changed files with 15 additions and 4 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= ugrep
DISTVERSIONPREFIX= v
DISTVERSION= 3.3.11
DISTVERSION= 3.3.12
CATEGORIES= textproc
MAINTAINER= ashish@FreeBSD.org

View File

@ -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

View File

@ -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);