Subject: pkg/23569: games/xmris does not build
To: None <gnats-bugs@gnats.netbsd.org>
From: Julian Coleman <jdc@coris.org.uk>
List: netbsd-bugs
Date: 11/25/2003 17:33:38
>Number: 23569
>Category: pkg
>Synopsis: games/xmris does not build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 25 17:34:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Julian Coleman
>Release: NetBSD 1.6ZF (pkgsrc from Nov 13 2003)
>Organization:
@home
>Environment:
System: NetBSD sparky 1.6ZF NetBSD 1.6ZF (SUN4M_SCSI3_BRFW) #0: Sat Nov 15 08:36:29 GMT 2003 root@sparky:/usr/obj/sparc/usr/src/sys/arch/sparc/compile/SUN4M_SCSI3_BRFW sparc
Architecture: sparc
Machine: sparc
>Description:
games/xmris does not compile:
all.c:640: error: conflicting types for `sys_nerr'
/usr/include/errno.h:53: error: previous declaration of `sys_nerr'
>How-To-Repeat:
cd /usr/pkgsrc/games/xmris && make
>Fix:
Change patch-ab to:
$NetBSD: patch-ab,v 1.2 1998/08/07 10:40:45 agc Exp $
--- all.c.orig Fri Jul 31 00:22:37 1998
+++ all.c Fri Jul 31 00:23:07 1998
@@ -639,3 +639,5 @@
{
+#ifndef __NetBSD__
extern int sys_nerr;
extern char *sys_errlist[];
+#endif
>Release-Note:
>Audit-Trail:
>Unformatted: