diff options
author | William Pitcock <nenolod@dereferenced.org> | 2015-05-29 17:28:22 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2015-05-29 17:28:22 -0500 |
commit | f74021abf32618202b26660a7412e170b95f12ac (patch) | |
tree | 03390742bae4573b7ae45d7c09e250734a2b16e8 /main/mdocml/default-pager.patch | |
parent | 1ce7a1c4bb52dad45e775857cce8f7e0fa3d5bc0 (diff) | |
download | aports-f74021abf32618202b26660a7412e170b95f12ac.tar.bz2 aports-f74021abf32618202b26660a7412e170b95f12ac.tar.xz |
main/mdocml: fix invocation with PAGER/MANPAGER env variable unset
Diffstat (limited to 'main/mdocml/default-pager.patch')
-rw-r--r-- | main/mdocml/default-pager.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/mdocml/default-pager.patch b/main/mdocml/default-pager.patch new file mode 100644 index 0000000000..06bf71e25a --- /dev/null +++ b/main/mdocml/default-pager.patch @@ -0,0 +1,11 @@ +--- mdocml-1.13.3.orig/main.c ++++ mdocml-1.13.3/main.c +@@ -989,7 +989,7 @@ + if (pager == NULL || *pager == '\0') + pager = getenv("PAGER"); + if (pager == NULL || *pager == '\0') +- pager = "/usr/bin/more -s"; ++ pager = "/bin/more -s"; + cp = mandoc_strdup(pager); + + /* |