diff options
author | ad <ad> | 1999-11-11 16:11:26 +0000 |
---|---|---|
committer | ad <ad> | 1999-11-11 16:11:26 +0000 |
commit | 60b6261dd3be03fe66223c2dba362a3614b3dc02 (patch) | |
tree | f897fb5d1a3bbb4fea16703bc830a6306f0f2421 /x11/wmavgload/patches | |
parent | 0a3be27c12ab23284a1995f337a0a6cc0dd1ffbc (diff) | |
download | pkgsrc-60b6261dd3be03fe66223c2dba362a3614b3dc02.tar.gz |
A Window Maker load guage.
Diffstat (limited to 'x11/wmavgload/patches')
-rw-r--r-- | x11/wmavgload/patches/patch-aa | 22 | ||||
-rw-r--r-- | x11/wmavgload/patches/patch-ab | 21 |
2 files changed, 43 insertions, 0 deletions
diff --git a/x11/wmavgload/patches/patch-aa b/x11/wmavgload/patches/patch-aa new file mode 100644 index 00000000000..f0f1924c940 --- /dev/null +++ b/x11/wmavgload/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/11/11 16:11:26 ad Exp $ + +--- Imakefile.orig Mon Sep 28 23:06:35 1998 ++++ Imakefile Thu Nov 11 16:07:02 1999 +@@ -2,7 +2,7 @@ + DESTDIR = /usr/X11R6 + BINDIR = /bin + +-XPMLIB = -L/usr/lib/X11 -L/opt/X11_Contrib/lib/sparc -lXpm -lm ++XPMLIB = -lXpm -lm + DEPLIBS = $(DEPXLIB) + + /* -lrpcsvc is required on SPARC or HP-UX */ +@@ -10,7 +10,7 @@ + + LINTLIBS = $(LINTXLIB) + +-EXTRA_INCLUDES = -I/opt/X11_Contrib/include ++EXTRA_INCLUDES = + + EXTRA_DEFINES = -DMANY_COLORS + diff --git a/x11/wmavgload/patches/patch-ab b/x11/wmavgload/patches/patch-ab new file mode 100644 index 00000000000..3d69ecfdf19 --- /dev/null +++ b/x11/wmavgload/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/11/11 16:11:26 ad Exp $ + +*** 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]; |