X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/80c266a76c7d558f6082620c88b223262784eca4..c4a2c255821424da01836473fd531f4f7009f91e:/packages/man/term_ascii.c.patch diff --git a/packages/man/term_ascii.c.patch b/packages/man/term_ascii.c.patch index b0f07c57..8f2268b1 100644 --- a/packages/man/term_ascii.c.patch +++ b/packages/man/term_ascii.c.patch @@ -1,19 +1,18 @@ -The man implementation from mandoc does not adjust its output size to the terminal. As this is nice to have on smaller screens such as Termux we patch this in using the following patch adapted from - -https://groups.google.com/forum/#!topic/fa.openbsd.tech/AEDMaZmzSU4 - -diff -u -r ../mdocml-1.13.4/term_ascii.c ./term_ascii.c ---- ../mdocml-1.13.4/term_ascii.c 2016-07-14 07:13:40.000000000 -0400 -+++ ./term_ascii.c 2016-09-26 18:06:08.339737451 -0400 -@@ -18,6 +18,7 @@ +diff -u -r ../mdocml-1.14.1/term_ascii.c ./term_ascii.c +--- ../mdocml-1.14.1/term_ascii.c 2017-02-21 00:25:20.000000000 +0000 ++++ ./term_ascii.c 2017-03-02 14:04:37.164590198 +0000 +@@ -18,8 +18,10 @@ #include "config.h" #include +#include #include ++#include #if HAVE_WCHAR -@@ -64,12 +65,22 @@ + #include + #endif +@@ -64,12 +66,22 @@ char *v; #endif struct termp *p;