Index: head/sysutils/atop/Makefile =================================================================== --- head/sysutils/atop/Makefile (revision 514823) +++ head/sysutils/atop/Makefile (revision 514824) @@ -1,49 +1,50 @@ # Created by: Alex Samorukov # $FreeBSD$ PORTNAME= atop PORTVERSION= 2.0.2.b3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= sysutils MAINTAINER= samm@freebsd.org COMMENT= ASCII Monitor for system resources and process activity 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}" SUB_LIST= LOGDIR="${LOGDIR}" USE_RC_SUBR= atop SUB_FILES= pkg-message PORTDOCS= AUTHOR \ ChangeLog \ ChangeLog.FreeBSD \ README \ README.FreeBSD OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/atop ${STAGEDIR}${PREFIX}/bin ${LN} -sf atop ${STAGEDIR}${PREFIX}/bin/atopsar .for manpage in atop.1 atopsar.1 ${INSTALL_MAN} ${WRKSRC}/man/${manpage} ${STAGEDIR}${MAN1PREFIX}/man/man1/ .endfor ${INSTALL_MAN} ${WRKSRC}/man/atoprc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5/ @${MKDIR} ${STAGEDIR}${LOGDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/sysutils/atop/files/patch-atop.c =================================================================== --- head/sysutils/atop/files/patch-atop.c (nonexistent) +++ head/sysutils/atop/files/patch-atop.c (revision 514824) @@ -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 : " ", Property changes on: head/sysutils/atop/files/patch-atop.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property