diff options
-rw-r--r-- | sysutils/wmavgload/Makefile | 8 | ||||
-rw-r--r-- | sysutils/wmavgload/distinfo | 2 | ||||
-rw-r--r-- | sysutils/wmavgload/files/patch-aa | 53 |
3 files changed, 4 insertions, 59 deletions
diff --git a/sysutils/wmavgload/Makefile b/sysutils/wmavgload/Makefile index 435ab9ed9f4..7d20e1ca41f 100644 --- a/sysutils/wmavgload/Makefile +++ b/sysutils/wmavgload/Makefile @@ -1,12 +1,12 @@ # New ports collection makefile for: wmavgload -# Version required: 0.6.1 +# Version required: 0.7.0 # Date created: 20 July 1998 # Whom: Vladimir Kushnir <kushn@mail.kar.net> # -# $Id: Makefile,v 1.1.1.1 1998/11/10 15:43:48 kuriyama Exp $ +# $Id: Makefile,v 1.2 1998/11/10 23:11:21 asami Exp $ # -DISTNAME= wmavgload-0.6.1 +DISTNAME= wmavgload-0.7.0 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.windowmaker.org/pub/contrib/srcs/utils/ @@ -14,8 +14,6 @@ MAINTAINER= kushn@mail.kar.net LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm -BROKEN= fetch - USE_IMAKE= yes NO_INSTALL_MANPAGES= yes diff --git a/sysutils/wmavgload/distinfo b/sysutils/wmavgload/distinfo index 77de0ec5f6c..2d2c1ad4df5 100644 --- a/sysutils/wmavgload/distinfo +++ b/sysutils/wmavgload/distinfo @@ -1 +1 @@ -MD5 (wmavgload-0.6.1.tar.gz) = 49e0acc9b41d13ce75c1129ce1d0cacf +MD5 (wmavgload-0.7.0.tar.gz) = 7cd2525b6aba7443d238dc361062e391 diff --git a/sysutils/wmavgload/files/patch-aa b/sysutils/wmavgload/files/patch-aa deleted file mode 100644 index 16923214124..00000000000 --- a/sysutils/wmavgload/files/patch-aa +++ /dev/null @@ -1,53 +0,0 @@ -*** get_load.c.orig Sat Jul 18 22:25:14 1998 ---- get_load.c Sat Jul 18 22:30:55 1998 -*************** -*** 1,4 **** -! #ifdef linux - - #include <stdio.h> - #include <fcntl.h> ---- 1,4 ---- -! #if defined (linux) || defined (__FreeBSD__) - - #include <stdio.h> - #include <fcntl.h> -*************** -*** 45,51 **** - /* pas de verif ... */ - } - -! #else - /* SVR4 */ - void GetLoad(float *small,float *medium,float *large) - { ---- 45,51 ---- - /* pas de verif ... */ - } - -! #elif defined(SVR4) - /* SVR4 */ - void GetLoad(float *small,float *medium,float *large) - { -*************** -*** 65,68 **** - *large = (float)res.avenrun[2]/FSCALE; - } - -! #endif ---- 65,80 ---- - *large = (float)res.avenrun[2]/FSCALE; - } - -! #else -! /* FreeBSD */ -! void GetLoad(float *small,float *medium,float *large) -! { -! double avenrun[3]; -! (void) getloadavg(avenrun, sizeof(avenrun) / sizeof(avenrun[0])); -! -! *small = (float)avenrun[0]; -! *medium = (float)avenrun[1]; -! *large = (float)avenrun[2]; -! } -! -! #endif |