Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/bin/xload We need to say we have getloadav...



details:   https://anonhg.NetBSD.org/src/rev/8d529176954d
branches:  trunk
changeset: 787371:8d529176954d
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jun 13 11:25:18 2013 +0000

description:
We need to say we have getloadavg(3) otherwise it wants to open /dev/kmem
and it does not work since we don't install setgid kmem.

diffstat:

 external/mit/xorg/bin/xload/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 7b2888fc8273 -r 8d529176954d external/mit/xorg/bin/xload/Makefile
--- a/external/mit/xorg/bin/xload/Makefile      Thu Jun 13 06:11:54 2013 +0000
+++ b/external/mit/xorg/bin/xload/Makefile      Thu Jun 13 11:25:18 2013 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: Makefile,v 1.4 2013/05/31 08:01:59 mrg Exp $
+#      $NetBSD: Makefile,v 1.5 2013/06/13 11:25:18 christos Exp $
 
 .include <bsd.own.mk>
 
 PROG=  xload
 SRCS=  xload.c get_load.c get_rload.c
 
-CPPFLAGS+=${X11FLAGS.VERSION}
+CPPFLAGS+=${X11FLAGS.VERSION} -DHAVE_GETLOADAVG
 
 APPDEFS=XLoad
 



Home | Main Index | Thread Index | Old Index