From owner-svn-ports-all@freebsd.org Thu Feb 4 14:48:08 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF5F5A9A534; Thu, 4 Feb 2016 14:48:07 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A15411C26; Thu, 4 Feb 2016 14:48:07 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u14Em6SP007545; Thu, 4 Feb 2016 14:48:06 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u14Em64D007542; Thu, 4 Feb 2016 14:48:06 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201602041448.u14Em64D007542@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Thu, 4 Feb 2016 14:48:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408040 - in head/sysutils/less: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 14:48:08 -0000 Author: marino Date: Thu Feb 4 14:48:06 2016 New Revision: 408040 URL: https://svnweb.freebsd.org/changeset/ports/408040 Log: sysutils/less: document ncurses requirement (USES+=ncurses), plus ... In addition to setting USES=ncurses: * align MASTER_SITES * align USES * change USES operator from += to = * line to libncurses rather than libtermcap * regenerate patches with makepatch approved by: infrastructure blanket Modified: head/sysutils/less/Makefile head/sysutils/less/files/patch-Makefile.in head/sysutils/less/files/patch-charset.c Modified: head/sysutils/less/Makefile ============================================================================== --- head/sysutils/less/Makefile Thu Feb 4 14:44:46 2016 (r408039) +++ head/sysutils/less/Makefile Thu Feb 4 14:48:06 2016 (r408040) @@ -5,14 +5,14 @@ PORTNAME= less PORTVERSION= 458 CATEGORIES= sysutils MASTER_SITES= http://www.greenwoodsoftware.com/less/ \ - http://bitrote.org/distfiles/ + http://bitrote.org/distfiles/ MAINTAINER= jharris@widomaker.com COMMENT= Better pager utility LICENSE= GPLv3 -USES+= cpe +USES= cpe ncurses CPE_VENDOR= gnu GNU_CONFIGURE= yes Modified: head/sysutils/less/files/patch-Makefile.in ============================================================================== --- head/sysutils/less/files/patch-Makefile.in Thu Feb 4 14:44:46 2016 (r408039) +++ head/sysutils/less/files/patch-Makefile.in Thu Feb 4 14:48:06 2016 (r408040) @@ -1,11 +1,11 @@ ---- Makefile.in.orig 2010/10/30 02:29:59 -+++ Makefile.in 2010/10/30 02:32:04 -@@ -17,7 +17,7 @@ +--- Makefile.in.orig 2013-04-04 16:55:06 UTC ++++ Makefile.in +@@ -17,7 +17,7 @@ CPPFLAGS = @CPPFLAGS@ EXEEXT = @EXEEXT@ O=o -LIBS = @LIBS@ -+LIBS = -ltermcap ++LIBS = -lncurses prefix = @prefix@ exec_prefix = @exec_prefix@ Modified: head/sysutils/less/files/patch-charset.c ============================================================================== --- head/sysutils/less/files/patch-charset.c Thu Feb 4 14:44:46 2016 (r408039) +++ head/sysutils/less/files/patch-charset.c Thu Feb 4 14:48:06 2016 (r408040) @@ -1,6 +1,6 @@ ---- charset.c.orig 2010/10/30 02:38:17 -+++ charset.c 2010/10/30 02:40:03 -@@ -408,6 +408,10 @@ +--- charset.c.orig 2013-04-04 16:55:05 UTC ++++ charset.c +@@ -407,6 +407,10 @@ binary_char(c) control_char(c) LWCHAR c; { @@ -11,7 +11,7 @@ c &= 0377; return (chardef[c] & IS_CONTROL_CHAR); } -@@ -423,6 +427,20 @@ +@@ -422,6 +426,20 @@ prchar(c) /* {{ This buffer can be overrun if LESSBINFMT is a long string. }} */ static char buf[32]; @@ -32,7 +32,7 @@ c &= 0377; if ((c < 128 || !utf_mode) && !control_char(c)) SNPRINTF1(buf, sizeof(buf), "%c", (int) c); -@@ -446,6 +464,7 @@ +@@ -445,6 +463,7 @@ prchar(c) #endif else SNPRINTF1(buf, sizeof(buf), binfmt, c);