aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/wmavgload
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1998-11-12 07:38:00 +0800
committerasami <asami@FreeBSD.org>1998-11-12 07:38:00 +0800
commit2cc10368d61ef9f5d691c807fce9cf7317e03482 (patch)
tree6451e4766d370ea8872551dac72d9497f9835400 /sysutils/wmavgload
parent1e98842ac2e228de57ed5b996ef076656401b4ae (diff)
downloadfreebsd-ports-gnome-2cc10368d61ef9f5d691c807fce9cf7317e03482.tar.gz
freebsd-ports-gnome-2cc10368d61ef9f5d691c807fce9cf7317e03482.tar.zst
freebsd-ports-gnome-2cc10368d61ef9f5d691c807fce9cf7317e03482.zip
Forgot to (cvs) add back patch I just deleted. My bad.
PR: 8652 Submitted by: Glenn Johnson <gljohns@bellsouth.net>
Diffstat (limited to 'sysutils/wmavgload')
-rw-r--r--sysutils/wmavgload/files/patch-aa19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/wmavgload/files/patch-aa b/sysutils/wmavgload/files/patch-aa
new file mode 100644
index 000000000000..4a287957a73b
--- /dev/null
+++ b/sysutils/wmavgload/files/patch-aa
@@ -0,0 +1,19 @@
+*** get_load.c.orig Wed Nov 11 16:07:42 1998
+--- get_load.c Wed Nov 11 16:07:54 1998
+***************
+*** 104,110 ****
+ }
+ #endif
+
+! #if defined(__FreeBSD) || defined(__NetBSD__) || defined(__OpenBSD__)
+ void GetLoad(float *small, float *medium, float *large)
+ {
+ static double loadavg[3];
+--- 104,110 ----
+ }
+ #endif
+
+! #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ void GetLoad(float *small, float *medium, float *large)
+ {
+ static double loadavg[3];