Subject: pkg/23371: sysutils/aperture fails to build on i386 - fixed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jukka-netbsd@2003.salmi.ch>
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
>Closed-Date:
>Last-Modified:
>Originator: Jukka Salmi
>Release: NetBSD 1.6.1_STABLE
>Organization:
>Environment:
System: NetBSD haustier.salmi.ch 1.6.1_STABLE NetBSD 1.6.1_STABLE (HAUSTIER) #0: Mon Oct 20 19:26:25 CEST 2003 root@haustier.salmi.ch:/usr/src/sys/arch/i386/compile/HAUSTIER i386
Architecture: i386
Machine: i386
>Description:
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).
>How-To-Repeat:
>Fix:
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
#else
extern int cpu_id;
-extern int cpu_feature;
+extern unsigned int cpu_feature;
extern char cpu_vendor[];
#endif
>Release-Note:
>Audit-Trail:
>Unformatted: