Module Name:    src
Committed By:   christos
Date:           Thu Jun 13 11:25:18 UTC 2013

Modified Files:
        src/external/mit/xorg/bin/xload: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/mit/xorg/bin/xload/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/bin/xload/Makefile
diff -u src/external/mit/xorg/bin/xload/Makefile:1.4 src/external/mit/xorg/bin/xload/Makefile:1.5
--- src/external/mit/xorg/bin/xload/Makefile:1.4	Fri May 31 04:01:59 2013
+++ src/external/mit/xorg/bin/xload/Makefile	Thu Jun 13 07:25:18 2013
@@ -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
 

Reply via email to