diff --git a/core/mandoc/build b/core/mandoc/build new file mode 100755 index 00000000..c21e4050 --- /dev/null +++ b/core/mandoc/build @@ -0,0 +1,16 @@ +#!/bin/sh -e + +patch -p1 < pager.patch + +cat > configure.local <= 4) { +- cp = argv[0] + cmdlen - 4; +- if (strcmp(cp, "less") == 0) { +- argv[argc++] = mandoc_strdup("-T"); +- argv[argc++] = tag_files->tfn; +- } +- } + argv[argc++] = tag_files->ofn; + argv[argc] = NULL; + diff --git a/core/mandoc/sources b/core/mandoc/sources new file mode 100644 index 00000000..93aad94d --- /dev/null +++ b/core/mandoc/sources @@ -0,0 +1,2 @@ +http://mdocml.bsd.lv/snapshots/mandoc-1.14.3.tar.gz +patches/pager.patch diff --git a/core/mandoc/version b/core/mandoc/version new file mode 100644 index 00000000..6c4cca37 --- /dev/null +++ b/core/mandoc/version @@ -0,0 +1 @@ +1.14.3 1