diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2010-10-30 06:54:29 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2010-10-30 06:54:29 +0000 |
commit | 63a477b9ea0f5122faf0197f51f274f10a9dfaa1 (patch) | |
tree | b87f3194624775e22332dd4c3e2d45314164d972 /sysutils | |
parent | 8809c26c4b9f043956869b02ed3e97cdcf97854b (diff) | |
download | ports-63a477b9ea0f5122faf0197f51f274f10a9dfaa1.tar.gz ports-63a477b9ea0f5122faf0197f51f274f10a9dfaa1.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/less/Makefile | 12 | ||||
-rw-r--r-- | sysutils/less/distinfo | 5 | ||||
-rw-r--r-- | sysutils/less/files/patch-aa | 8 | ||||
-rw-r--r-- | sysutils/less/files/patch-ab | 25 |
4 files changed, 25 insertions, 25 deletions
diff --git a/sysutils/less/Makefile b/sysutils/less/Makefile index 5a92c03eb1ef..56d0c91e5256 100644 --- a/sysutils/less/Makefile +++ b/sysutils/less/Makefile @@ -6,10 +6,10 @@ # PORTNAME= less -PORTVERSION= 382 +PORTVERSION= 436 CATEGORIES= sysutils -MASTER_SITES= http://www.greenwoodsoftware.com/%SUBDIR%/ \ - ${MASTER_SITE_GNU} +MASTER_SITES= http://www.greenwoodsoftware.com/%SUBDIR%/ +# ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= less MAINTAINER= jharris@widomaker.com @@ -20,13 +20,13 @@ PLIST_FILES= bin/less bin/lesskey bin/lessecho .include <bsd.port.pre.mk> GNU_CONFIGURE= yes -MAN1= less.1 lesskey.1 +MAN1= less.1 lesskey.1 lessecho.1 .if defined(COLOUR_LESS) || defined(COLOR_LESS) -MAKE_ENV= CPPFLAGS="-DCOLOUR_LESS" +MAKE_ENV= CPPFLAGS="-DCOLOR_LESS" pre-fetch: - @${ECHO_MSG} "Making a colour version of less." + @${ECHO_MSG} "Making a color version of less." .endif .include <bsd.port.post.mk> diff --git a/sysutils/less/distinfo b/sysutils/less/distinfo index 216cca6dc08b..463b5bd023fd 100644 --- a/sysutils/less/distinfo +++ b/sysutils/less/distinfo @@ -1,3 +1,2 @@ -MD5 (less-382.tar.gz) = 103fe4aef6297b93f0f73f38cc3b1bd7 -SHA256 (less-382.tar.gz) = d33cc51f220647d015fd526b3782cde03c5d8b18c5233e6388a0047a70446fe7 -SIZE (less-382.tar.gz) = 264414 +SHA256 (less-436.tar.gz) = 57a16ff07431a9af45cf1cd5b374e1066d019304219f0d156e22bb8c4d6734d2 +SIZE (less-436.tar.gz) = 303921 diff --git a/sysutils/less/files/patch-aa b/sysutils/less/files/patch-aa index 092ecbe95fb9..6cbbda212078 100644 --- a/sysutils/less/files/patch-aa +++ b/sysutils/less/files/patch-aa @@ -1,7 +1,7 @@ ---- Makefile.in.orig Fri Apr 9 20:02:59 1999 -+++ Makefile.in Thu Apr 15 23:09:36 1999 -@@ -15,7 +15,7 @@ - LDFLAGS = @LDFLAGS@ +--- Makefile.in.orig 2010/10/30 02:29:59 ++++ Makefile.in 2010/10/30 02:32:04 +@@ -17,7 +17,7 @@ + EXEEXT = @EXEEXT@ O=o -LIBS = @LIBS@ diff --git a/sysutils/less/files/patch-ab b/sysutils/less/files/patch-ab index fb9dcb946beb..d234169bdba3 100644 --- a/sysutils/less/files/patch-ab +++ b/sysutils/less/files/patch-ab @@ -1,8 +1,8 @@ ---- charset.c.orig Thu Mar 23 05:36:33 2000 -+++ charset.c Mon Jun 19 22:33:43 2000 -@@ -267,6 +267,10 @@ +--- charset.c.orig 2010/10/30 02:38:17 ++++ charset.c 2010/10/30 02:40:03 +@@ -408,6 +408,10 @@ control_char(c) - int c; + LWCHAR c; { +#ifdef COLOR_LESS + if (c == ESC) @@ -11,9 +11,9 @@ c &= 0377; return (chardef[c] & IS_CONTROL_CHAR); } -@@ -281,6 +285,20 @@ - { - static char buf[8]; +@@ -423,6 +427,20 @@ + /* {{ This buffer can be overrun if LESSBINFMT is a long string. }} */ + static char buf[32]; +#ifdef COLOR_LESS + if(c == ESC) @@ -30,12 +30,13 @@ + } +#else c &= 0377; - if (!control_char(c)) - sprintf(buf, "%c", c); -@@ -290,5 +308,6 @@ - sprintf(buf, "^%c", c ^ 0100); + if ((c < 128 || !utf_mode) && !control_char(c)) + SNPRINTF1(buf, sizeof(buf), "%c", (int) c); +@@ -446,6 +464,7 @@ + #endif else - sprintf(buf, binfmt, c); + SNPRINTF1(buf, sizeof(buf), binfmt, c); +#endif return (buf); } + |