diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-05 13:29:09 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-03-05 13:29:09 +0000 |
commit | 4988d48afc70913f0c2cf180b8379719a65e7c78 (patch) | |
tree | d234ee3b749c6131c7ed9a327e725b2bf57e9403 /sysutils/apachetop | |
parent | 674d380544f9d6f5939bb3c374d4e6421de29dea (diff) | |
download | ports-4988d48afc70913f0c2cf180b8379719a65e7c78.tar.gz ports-4988d48afc70913f0c2cf180b8379719a65e7c78.zip |
Notes
Diffstat (limited to 'sysutils/apachetop')
-rw-r--r-- | sysutils/apachetop/Makefile | 3 | ||||
-rw-r--r-- | sysutils/apachetop/distinfo | 3 | ||||
-rw-r--r-- | sysutils/apachetop/files/patch-display.cc | 17 |
3 files changed, 3 insertions, 20 deletions
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 |