Subject: aperture driver won't build after upgrade to 3.99.14
To: None <current-users@netbsd.org>
From: John R. Shannon <john@johnrshannon.com>
List: current-users
Date: 12/14/2005 05:35:56
After upgrading to CURRENT yesterday, the aperture driver 
(pkgsrc/sysutils/aperture) fails to build:

cc -O2 -ffreestanding  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wno-sign-compare -Wno-traditional  -Werror    -nostdinc 
-I. -I/usr/obj/pkg/sysutils/aperture/work/module -isystem /usr/src/sys 
-isystem /usr/src/sys/arch -D_KERNEL -D_LKM  -c    aperture.c
aperture.c: In function `xf86open':
aperture.c:86: error: argument `p' doesn't match prototype
xf86_mod.h:12: error: prototype declaration
aperture.c: In function `xf86close':
aperture.c:109: error: argument `p' doesn't match prototype
xf86_mod.h:13: error: prototype declaration
aperture.c: In function `xf86ioctl':
aperture.c:173: error: argument `p' doesn't match prototype
xf86_mod.h:15: error: prototype declaration
*** Error code 1

Has anyone a recommended fix?
-- 
John R. Shannon, CISSP
Sr. Software Scientist
Science Applications International Corporation
john@johnrshannon.com
john.r.shannon@us.army.mil
john.r.shannon@saic.com
shannonjr@NetBSD.org