Subject: pkg/21530: -DOS_netbsdelf bug in mtools
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wilbour@linuxfaq.cz>
List: netbsd-bugs
Date: 05/11/2003 10:20:20
>Number: 21530
>Category: pkg
>Synopsis: -DOS_netbsdelf bug in mtools
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 11 10:21:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: pavel arnost
>Release: 1.6.1
>Organization:
>Environment:
NetBSD arnost.clnet.cz 1.6.1 NetBSD 1.6.1 (GENERIC) #0: Sat May 3 23:59:45 CEST 2003 id9848949@arnost.clnet.cz:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
configure step of mtools put -DOS_netbsdelf into the Makefile, but there's #if defined(OS_netbsd) in devices.c
>How-To-Repeat:
build mtools package from 1.6.1 pkgsrc
>Fix:
patch-ad:
--- devices.c.orig Sun May 28 12:20:54 2000
+++ devices.c Sun May 11 12:05:49 2003
@@ -798,7 +798,7 @@
#endif /* __FreeBSD__ */
/*** /jes -- for ALR 486 DX4/100 ***/
-#if defined(OS_netbsd)
+#if defined(OS_netbsd) || defined(OS_netbsdelf)
#define predefined_devices
struct device devices[] = {
{"/dev/rfd0a", 'A', FHD312},
>Release-Note:
>Audit-Trail:
>Unformatted: