From 4988d48afc70913f0c2cf180b8379719a65e7c78 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Fri, 5 Mar 2004 13:29:09 +0000 Subject: Upgrade to 0.11. Approved by: maintainer --- sysutils/apachetop/Makefile | 3 +-- sysutils/apachetop/distinfo | 3 ++- sysutils/apachetop/files/patch-display.cc | 17 ----------------- 3 files changed, 3 insertions(+), 20 deletions(-) delete mode 100644 sysutils/apachetop/files/patch-display.cc (limited to 'sysutils/apachetop') diff --git a/sysutils/apachetop/Makefile b/sysutils/apachetop/Makefile index dea5ec017a82..f8eb6246462b 100644 --- a/sysutils/apachetop/Makefile +++ b/sysutils/apachetop/Makefile @@ -6,8 +6,7 @@ # PORTNAME= apachetop -PORTVERSION= 0.9 -PORTREVISION= 2 +PORTVERSION= 0.11 CATEGORIES= sysutils MASTER_SITES= http://clueful.shagged.org/apachetop/files/ DISTNAME= ${PORTNAME}-${PORTVERSION} diff --git a/sysutils/apachetop/distinfo b/sysutils/apachetop/distinfo index 2e04d146564b..2a7feda0054e 100644 --- a/sysutils/apachetop/distinfo +++ b/sysutils/apachetop/distinfo @@ -1 +1,2 @@ -MD5 (apachetop-0.9.tar.gz) = 6a6d27d78915e1d7923ecdcc4573adfe +MD5 (apachetop-0.11.tar.gz) = cd83ad174f792d971361093a04f82b07 +SIZE (apachetop-0.11.tar.gz) = 124473 diff --git a/sysutils/apachetop/files/patch-display.cc b/sysutils/apachetop/files/patch-display.cc deleted file mode 100644 index 7d290b67173c..000000000000 --- a/sysutils/apachetop/files/patch-display.cc +++ /dev/null @@ -1,17 +0,0 @@ ---- src/display.cc.orig Sun Feb 22 22:53:52 2004 -+++ src/display.cc Sun Feb 22 22:54:16 2004 -@@ -238,8 +238,12 @@ - * I'm fairly sure, realistically, it'll never get high enough to be - * a problem, so uInt should be ok */ - if (items) free(items); /* get rid of the last one */ -- items = (struct itemlist *) -- calloc((unsigned int)items_size, sizeof(itemlist)); -+ if (items_size == 0) { -+ items = NULL; -+ } else { -+ items = (struct itemlist *) -+ calloc((unsigned int)items_size, sizeof(itemlist)); -+ } - - /* another thread may change the contents of cf while we're running, - * and it would be undesirable to have most of this change on us, so -- cgit v1.2.3