From 8792d07eb21b4fa98422bbe9013c23e7e8b213cc Mon Sep 17 00:00:00 2001 From: John Marino Date: Fri, 13 Mar 2015 16:35:53 +0100 Subject: [PATCH] less(1): Upgrade from version 458 to 471 --- contrib/less/README.DRAGONFLY | 10 +++++----- contrib/less/cmdbuf.c | 1 + usr.bin/less/defines.h | 5 +++++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/contrib/less/README.DRAGONFLY b/contrib/less/README.DRAGONFLY index cdd80d296a..c8dab5e8be 100644 --- a/contrib/less/README.DRAGONFLY +++ b/contrib/less/README.DRAGONFLY @@ -4,10 +4,10 @@ LESS Original source can be downloaded from: http://www.greenwoodsoftware.com/less/ -file = less-458.tar.gz -date = 4 April 2013 -size = 311224 -sha1 = d5b07180d3dad327ccc8bc66818a31577e8710a2 +file = less-471.tar.gz +date = 14 December 2014 +size = 316133 +sha1 = 0d030b56f3f9c3ed68c6498876a27e0cac430538 A list of deleted files is in README.DELETED. @@ -19,4 +19,4 @@ This source is used in: usr.bin/lesskey Local modifications applied to following files: - command.c + cmdbuf.c diff --git a/contrib/less/cmdbuf.c b/contrib/less/cmdbuf.c index 0407ec7e0f..b68da3945e 100644 --- a/contrib/less/cmdbuf.c +++ b/contrib/less/cmdbuf.c @@ -1484,6 +1484,7 @@ read_cmdhist(action, uparam, skip_search, skip_shell) void (*action)(void*,struct mlist*,char*); void *uparam; int skip_search; + int skip_shell; { read_cmdhist2(action, uparam, skip_search, skip_shell); (*action)(uparam, NULL, NULL); /* signal end of file */ diff --git a/usr.bin/less/defines.h b/usr.bin/less/defines.h index b17a31a7cf..465a983735 100644 --- a/usr.bin/less/defines.h +++ b/usr.bin/less/defines.h @@ -417,6 +417,11 @@ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 +/* Enable large inode numbers on Mac OS X 10.5. */ +#ifndef _DARWIN_USE_64_BIT_INODE +# define _DARWIN_USE_64_BIT_INODE 1 +#endif + /* Number of bits in a file offset, on hosts where this is settable. */ /* #undef _FILE_OFFSET_BITS */ -- 2.28.0