termux-packages/packages/man/main.c.patch

13 lines
392 B
Diff

diff -u -r ../mdocml-1.13.2/main.c ./main.c
--- ../mdocml-1.13.2/main.c 2014-12-13 09:06:35.000000000 -0500
+++ ./main.c 2014-12-29 10:02:14.200125906 -0500
@@ -866,7 +866,7 @@
if (pager == NULL || *pager == '\0')
pager = getenv("PAGER");
if (pager == NULL || *pager == '\0')
- pager = "/usr/bin/more -s";
+ pager = "@TERMUX_PREFIX@/bin/less -s";
cp = mandoc_strdup(pager);
/*