Subject: pkg/23371: sysutils/aperture fails to build on i386 - fixed
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/05/2003 01:13:35
>Number:         23371
>Category:       pkg
>Synopsis:       sysutils/aperture fails to build on i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 05 00:14:00 UTC 2003
>Originator:     Jukka Salmi
>Release:        NetBSD 1.6.1_STABLE
System: NetBSD 1.6.1_STABLE NetBSD 1.6.1_STABLE (HAUSTIER) #0: Mon Oct 20 19:26:25 CEST 2003 i386
Architecture: i386
Machine: i386
sysutils/aperture from current pkgsrc fails to build on stable NetBSD since
cpu_feature changed from int to unsigned int on Sun Sep 7 13:09:54 2003 UTC
(see src/sys/arch/i386/include/cpu.h).
patch for aperture:

--- module/xf86_mod.c.orig      Tue Nov  4 15:23:34 2003
+++ module/xf86_mod.c   Tue Nov  4 15:23:50 2003
@@ -23,7 +23,7 @@
 #define cpu_id cpu_info_primary.ci_signature
 extern int cpu_id;
-extern int cpu_feature;
+extern unsigned int cpu_feature;
 extern char cpu_vendor[];