Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2019 18:52:25 +0000 (UTC)
From:      Oleksii Samorukov <samm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r514824 - in head/sysutils/atop: . files
Message-ID:  <201910191852.x9JIqPV8075796@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: samm
Date: Sat Oct 19 18:52:25 2019
New Revision: 514824
URL: https://svnweb.freebsd.org/changeset/ports/514824

Log:
  sysutils/atop: a function pointer was called with incorrect number of argument
  
  PR:                       239586
  Submitted by:             msl0000023508@gmail.com
  Approved by:              krion (mentor)
  Differential Revision:    https://reviews.freebsd.org/D22090

Added:
  head/sysutils/atop/files/patch-atop.c   (contents, props changed)
Modified:
  head/sysutils/atop/Makefile

Modified: head/sysutils/atop/Makefile
==============================================================================
--- head/sysutils/atop/Makefile	Sat Oct 19 18:20:04 2019	(r514823)
+++ head/sysutils/atop/Makefile	Sat Oct 19 18:52:25 2019	(r514824)
@@ -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 @@ COMMENT=	ASCII Monitor for system resources and proces
 
 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}"

Added: head/sysutils/atop/files/patch-atop.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/atop/files/patch-atop.c	Sat Oct 19 18:52:25 2019	(r514824)
@@ -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 : "        ",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910191852.x9JIqPV8075796>