summaryrefslogtreecommitdiff
path: root/x11/wmavgload
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-06-13 20:31:34 +0000
committerwiz <wiz@pkgsrc.org>2001-06-13 20:31:34 +0000
commit2399e99ac9d939a1579d2e8ad6a512b4b4613059 (patch)
tree064a97bbd5e62fd7bd6dace13324b06fcb3d94fc /x11/wmavgload
parenteb73b18074b23447137203c558000b6792c83c2e (diff)
downloadpkgsrc-2399e99ac9d939a1579d2e8ad6a512b4b4613059.tar.gz
Put FreeBSD patch back, on suggestion by agc.
Diffstat (limited to 'x11/wmavgload')
-rw-r--r--x11/wmavgload/distinfo3
-rw-r--r--x11/wmavgload/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/wmavgload/distinfo b/x11/wmavgload/distinfo
index 1214ec0867f..4f020cb8466 100644
--- a/x11/wmavgload/distinfo
+++ b/x11/wmavgload/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2001/06/13 20:15:06 wiz Exp $
+$NetBSD: distinfo,v 1.4 2001/06/13 20:31:34 wiz Exp $
SHA1 (wmavgload-0.7.0.tar.gz) = 9225ced4e799a900a18374613396b500740f13a8
Size (wmavgload-0.7.0.tar.gz) = 11643 bytes
SHA1 (patch-aa) = 9dce260a116de702c835047d588d2f9505c71b71
+SHA1 (patch-ab) = bc4c969344e7a64abdb4283e33dbf24c3b227b5e
diff --git a/x11/wmavgload/patches/patch-ab b/x11/wmavgload/patches/patch-ab
new file mode 100644
index 00000000000..d721e788de4
--- /dev/null
+++ b/x11/wmavgload/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2001/06/13 20:31:35 wiz Exp $
+
+--- get_load.c.orig Mon Sep 28 23:54:34 1998
++++ get_load.c
+@@ -104,7 +104,7 @@
+ }
+ #endif
+
+-#if defined(__FreeBSD) || defined(__NetBSD__) || defined(__OpenBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+ void GetLoad(float *small, float *medium, float *large)
+ {
+ static double loadavg[3];