summaryrefslogtreecommitdiff
path: root/sysutils/wmavgload
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-11 20:59:31 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-11 20:59:31 +0000
commit119ddd36d9e18206e400410a01bcfcf6a7833385 (patch)
tree08f6487578c1a9a8ef23c439bcd1e485efa0133b /sysutils/wmavgload
parentUpgrade to 3.0 Beta 15. (diff)
Upgrade to 0.7.0. It's not from the maintainer but it's a simple
upgrade with only minor patch changes so I'm just going to commit it, especially since the original was marked broken (can't fetch anymore). PR: 8652 Submitted by: Glenn Johnson <gljohns@bellsouth.net>
Notes
Notes: svn path=/head/; revision=14476
Diffstat (limited to 'sysutils/wmavgload')
-rw-r--r--sysutils/wmavgload/Makefile8
-rw-r--r--sysutils/wmavgload/distinfo2
-rw-r--r--sysutils/wmavgload/files/patch-aa53
3 files changed, 4 insertions, 59 deletions
diff --git a/sysutils/wmavgload/Makefile b/sysutils/wmavgload/Makefile
index 435ab9ed9f47..7d20e1ca41f8 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 77de0ec5f6c5..2d2c1ad4df5b 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 169232141248..000000000000
--- 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