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:
parent
757030bdb4
commit
d95b67f64b
@ -1,6 +1,6 @@
|
||||
PORTNAME= ugrep
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.3.11
|
||||
DISTVERSION= 3.3.12
|
||||
CATEGORIES= textproc
|
||||
|
||||
MAINTAINER= ashish@FreeBSD.org
|
||||
|
@ -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
|
||||
|
11
textproc/ugrep/files/patch-src_ugrep.cpp
Normal file
11
textproc/ugrep/files/patch-src_ugrep.cpp
Normal 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);
|
||||
|
Loading…
Reference in New Issue
Block a user