head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.22 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.20 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.18 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.16 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.14 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.12 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.10 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.8 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.6 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.4 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.6.0.2 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.5.0.20 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.18 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.16 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.14 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.12 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.10 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.8 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.6 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.4 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.2 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.4.0.10 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.8 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.6 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.4 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.3.0.4 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.2 buildlink2-base:1.2 netbsd-1-5-RELEASE:1.1 netbsd-1-4-PATCH003:1.1 netbsd-1-4-PATCH002:1.1; locks; strict; comment @# @; 1.6 date 2007.12.09.23.38.32; author wiz; state dead; branches; next 1.5; 1.5 date 2005.04.04.08.56.18; author adam; state Exp; branches; next 1.4; 1.4 date 2003.12.11.16.05.40; author adam; state Exp; branches; next 1.3; 1.3 date 2003.05.22.16.16.04; author salo; state Exp; branches 1.3.2.1; next 1.2; 1.2 date 2001.02.14.14.48.41; author is; state dead; branches; next 1.1; 1.1 date 2000.01.04.17.49.43; author bouyer; state Exp; branches; next ; 1.3.2.1 date 2003.05.22.16.16.04; author grant; state dead; branches; next 1.3.2.2; 1.3.2.2 date 2003.06.19.01.10.04; author grant; state Exp; branches; next ; desc @@ 1.6 log @Update to 3.9.11, provided by Sergey Svishchev in private mail: 3.9.11 is mostly a maintenance release which fixes a couple of bugs, and addresses warnings raised by gcc4, and merges some platform-specific patches (MingW, NetBSD, Redhat/Fedora, Cygwin, Solaris), and other patches (such as the new amuFormat.sh written in sh). @ text @$NetBSD: patch-ad,v 1.5 2005/04/04 08:56:18 adam Exp $ --- devices.c.orig 2003-05-24 20:54:27.000000000 +0000 +++ devices.c @@@@ -807,7 +807,7 @@@@ struct device devices[] = { #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}, @ 1.5 log @Changes 3.9.10: * Support for multiple drives in floppyd * Updated .spec file * Fixed some long name directory entry freeing bugs * Fixed duplicate FAT writing error. Fixed segfault on short images. * Mformat creates images of correct size. * CYGWIN compatibility (O_BINARY flag). * Cygwin patch for plain_io.c (no locking) * Fix a couple of memory leaks in config file parsing. Fix llong.h (redefined same symbol twice) * Fix a variable initialization problem in plain_io.c * New mclasserase command to erase memory cards C99 "compatibility" (cf http://www.mtools.linux.lu/download.html) * Fix rootskip and rate of XDF disks * Fix inverted IS_MFORMAT_ONLY conditon in plain_io.c * Moved putc after variable description (anybody knows about a -W flag so that gcc warns about these?) * Fixed mattrib -p (missing slash) * Added -m option to mformat to specify a non-standard mediabyte * Added -d options to mformat to specify number of FAT copies. Can also be set using the MTOOLS_NFATS environmental variable. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Changes 3.9.9: * Large disk fixes, especially for Solaris * Floppyd robustness * Zip 250 support in mzip * Protect against division by zero when reading BSD disks * Fixed parsing of Unix filenames ending with slash * Fixes for floppyd to work with current protocol version of floppyd * Warn for invalid partition numbers * Support for geometry-less Atari disks * Support for byte-swapping disks * Fixed max numbers of sectors for FAT12 and FAT16 See ChangeLog for details @ text @d3 1 a3 1 --- devices.c.orig 2002-05-01 10:17:50.000000000 +0000 d5 1 a5 1 @@@@ -799,7 +799,7 @@@@ struct device devices[] = { @ 1.3 log @PKGREVISION++ - fix device handling on NetBSD ELF (from Pavel Arnost via PR pkg/21530) - fix floppyd handling in better and simpler way - don't hardcode -R, use RPATH_FLAG instead - remove unused cruft, style nits @ text @d3 3 a5 3 --- devices.c.orig 2000-05-28 12:20:54.000000000 +0200 +++ devices.c 2003-05-22 17:35:16.000000000 +0200 @@@@ -798,7 +798,7 @@@@ @ 1.3.2.1 log @file patch-ad was added on branch netbsd-1-6-1 on 2003-06-19 01:10:04 +0000 @ text @d1 13 @ 1.3.2.2 log @Create new file from rev 1.3 (requested by salo in ticket #1294): PKGREVISION++ - fix device handling on NetBSD ELF (from Pavel Arnost via PR pkg/21530) - fix floppyd handling in better and simpler way - don't hardcode -R, use RPATH_FLAG instead - remove unused cruft, style nits @ text @a0 13 $NetBSD: patch-ad,v 1.3.2.1 2003/06/19 01:10:04 grant Exp $ --- devices.c.orig 2000-05-28 12:20:54.000000000 +0200 +++ devices.c 2003-05-22 17:35:16.000000000 +0200 @@@@ -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}, @ 1.2 log @Forgot to remove them. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2000/01/04 17:49:43 bouyer Exp $ d3 11 a13 12 --- floppyd_io.c.old Mon Dec 13 18:10:17 1999 +++ floppyd_io.c Mon Dec 13 18:10:36 1999 @@@@ -21,7 +21,9 @@@@ /* ######################################################################## */ +#ifndef OS_solaris2 typedef unsigned long ipaddr_t; +#endif typedef unsigned char Byte; typedef unsigned long Dword; @ 1.1 log @works on solaris @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 1999/06/03 14:22:09 tron Exp $ @