termux-packages/packages/man/main.c.patch
2018-08-11 19:38:37 +02:00

22 lines
563 B
Diff

diff -u -r ../mandoc-1.14.4/main.c ./main.c
--- ../mandoc-1.14.4/main.c 2018-08-08 14:51:51.000000000 +0000
+++ ./main.c 2018-08-11 09:58:01.245684598 +0000
@@ -21,7 +21,7 @@
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/param.h> /* MACHINE */
-#include <sys/termios.h>
+#include <termios.h>
#include <sys/wait.h>
#include <assert.h>
@@ -1187,7 +1187,7 @@
if (pager == NULL || *pager == '\0')
pager = getenv("PAGER");
if (pager == NULL || *pager == '\0')
- pager = "more -s";
+ pager = "less -s";
cp = mandoc_strdup(pager);
/*