X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/37cd358fb228b58acc1e3653919199fef335e94c..7b1f1bd35dd9bd3367bf603d97be4f582f8b1b23:/packages/fish/share-functions-__fish_print_help.fish.patch diff --git a/packages/fish/share-functions-__fish_print_help.fish.patch b/packages/fish/share-functions-__fish_print_help.fish.patch index 8ab0b360..58646dc5 100644 --- a/packages/fish/share-functions-__fish_print_help.fish.patch +++ b/packages/fish/share-functions-__fish_print_help.fish.patch @@ -1,16 +1,16 @@ -diff -u -r ../fish-2.2.0/share/functions/__fish_print_help.fish ./share/functions/__fish_print_help.fish ---- ../fish-2.2.0/share/functions/__fish_print_help.fish 2015-07-03 15:46:59.000000000 -0400 -+++ ./share/functions/__fish_print_help.fish 2015-07-16 17:50:19.876454497 -0400 -@@ -39,7 +39,7 @@ - set cols (expr $cols - 4) # leave a bit of space on the right +diff -u -r ../fish-2.4b1/share/functions/__fish_print_help.fish ./share/functions/__fish_print_help.fish +--- ../fish-2.4b1/share/functions/__fish_print_help.fish 2016-10-18 10:17:06.000000000 -0400 ++++ ./share/functions/__fish_print_help.fish 2016-10-19 17:37:08.948931562 -0400 +@@ -40,7 +40,7 @@ set rLL -rLL=$cols[1]n end -- set help (nroff -man -c -t $rLL "$__fish_datadir/man/man1/$item.1" ^/dev/null) -+ set help (mandoc "$__fish_datadir/man/man1/$item.1" ^/dev/null) - - # The original implementation trimmed off the top 5 lines and bottom 3 lines - # from the nroff output. Perhaps that's reliable, but the magic numbers make -@@ -94,6 +94,6 @@ + if test -e "$__fish_datadir/man/man1/$item.1" +- set help (nroff -man -c -t $rLL "$__fish_datadir/man/man1/$item.1" ^/dev/null) ++ set help (mandoc "$__fish_datadir/man/man1/$item.1" ^/dev/null) + else if test -e "$__fish_datadir/man/man1/$item.1.gz" + set help (gunzip -c "$__fish_datadir/man/man1/$item.1.gz" ^/dev/null | nroff -man -c -t $rLL ^/dev/null) + end +@@ -98,6 +98,6 @@ # skip it end end