Import of pkgsrc-2015Q3

This commit is contained in:
2015-10-03 03:37:01 -07:00
committed by Lionel Sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228314 additions and 80018 deletions

View File

@@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.8 2012/10/23 19:51:07 asau Exp $
# $NetBSD: Makefile,v 1.10 2015/08/20 13:38:25 jperkin Exp $
#
DISTNAME= htop-1.0.1
PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=htop/}
@@ -17,6 +18,13 @@ USE_LIBTOOL= yes
ONLY_FOR_PLATFORM= Linux-*-* FreeBSD-*-* NetBSD-*-*
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS" && exists(/system/lxproc)
ONLY_FOR_PLATFORM+= SunOS-*-*
CONFIGURE_ARGS+= --with-proc=/system/lxproc
.endif
CONFIGURE_ENV+= ac_cv_file__proc_stat=yes ac_cv_file__proc_meminfo=yes
.include "../../devel/ncursesw/buildlink3.mk"

View File

@@ -1,7 +1,10 @@
$NetBSD: distinfo,v 1.4 2012/03/21 18:28:40 drochner Exp $
$NetBSD: distinfo,v 1.5 2015/08/20 13:38:25 jperkin Exp $
SHA1 (htop-1.0.1.tar.gz) = bad226ec887a2b7ea5042879ed18e067812d030e
RMD160 (htop-1.0.1.tar.gz) = c13d438438c5ab8c15c056f7064ae6edb26ec8d9
Size (htop-1.0.1.tar.gz) = 384683 bytes
SHA1 (patch-AvailableColumnsPanel.c) = 0aa40dd4f126a81ff6ad869362486eeb256a2163
SHA1 (patch-CRT.c) = 6e139b71c64b8ef9b7ef53a08863cd814eb0657e
SHA1 (patch-ColumnsPanel.c) = 7b7c569aacab0e667b6435f980d0daedbd914e34
SHA1 (patch-Makefile.am) = eec58f8097488b6aeafabdba5bbc4bb478ffacc8
SHA1 (patch-Panel.c) = b19e324d5e1bda07d8cd609a5d584637102ca465

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-AvailableColumnsPanel.c,v 1.1 2015/08/20 13:38:25 jperkin Exp $
Restrict to ASCII characters.
--- AvailableColumnsPanel.c.orig 2011-12-26 21:51:00.000000000 +0000
+++ AvailableColumnsPanel.c
@@ -55,7 +55,7 @@ static HandlerResult AvailableColumnsPan
}
default:
{
- if (isalpha(ch))
+ if (isascii(ch) && isalpha(ch))
result = Panel_selectByTyping(super, ch);
break;
}

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ColumnsPanel.c,v 1.1 2015/08/20 13:38:25 jperkin Exp $
Restrict to ASCII characters.
--- ColumnsPanel.c.orig 2011-12-26 21:53:10.000000000 +0000
+++ ColumnsPanel.c
@@ -70,7 +70,7 @@ static HandlerResult ColumnsPanel_eventH
}
default:
{
- if (isalpha(ch))
+ if (isascii(ch) && isalpha(ch))
result = Panel_selectByTyping(super, ch);
if (result == BREAK_LOOP)
result = IGNORED;

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-Panel.c,v 1.1 2015/08/20 13:38:25 jperkin Exp $
Restrict to ASCII characters.
--- Panel.c.orig 2012-02-02 23:45:01.000000000 +0000
+++ Panel.c
@@ -417,7 +417,7 @@ HandlerResult Panel_selectByTyping(Panel
if (!this->eventHandlerBuffer)
this->eventHandlerBuffer = calloc(100, 1);
- if (isalnum(ch)) {
+ if (isascii(ch) && isalnum(ch)) {
int len = strlen(this->eventHandlerBuffer);
if (len < 99) {
this->eventHandlerBuffer[len] = ch;