Index: head/sysutils/atop/Makefile =================================================================== --- head/sysutils/atop/Makefile +++ head/sysutils/atop/Makefile @@ -3,7 +3,7 @@ PORTNAME= atop PORTVERSION= 2.0.2.b3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= samm@freebsd.org @@ -11,12 +11,13 @@ LICENSE= GPLv2 +USES= ncurses + USE_GITHUB= yes GH_ACCOUNT= samm-git GH_PROJECT= atop-freebsd GH_TAGNAME= ${PORTNAME}-${PORTVERSION:C|b|fbsd.beta|} -USES= ncurses MAKEFILE= BSDmakefile LOGDIR?= /var/log/atop PLIST_SUB+= LOGDIR="${LOGDIR}" Index: head/sysutils/atop/files/patch-atop.c =================================================================== --- head/sysutils/atop/files/patch-atop.c +++ head/sysutils/atop/files/patch-atop.c @@ -0,0 +1,12 @@ +--- atopsar.c.orig 2014-01-16 00:05:34 UTC ++++ atopsar.c +@@ -600,7 +600,8 @@ + */ + printf("%s ", convtime(curtime, timebuf)); + +- if ( !(rv = (pridef[i].priline)(ss, (struct tstat *)0, 0, ++ if ( !(rv = (pridef[i].priline)(ss, (struct tstat *)0, ++ (struct tstat **)0, 0, + numsecs, numsecs*hertz, hertz, + osvers, osrel, ossub, + stampalways ? timebuf : " ",