head 1.16; access; symbols pkgsrc-2013Q2:1.16.0.18 pkgsrc-2013Q2-base:1.16 pkgsrc-2012Q4:1.16.0.16 pkgsrc-2012Q4-base:1.16 pkgsrc-2011Q4:1.16.0.14 pkgsrc-2011Q4-base:1.16 pkgsrc-2011Q2:1.16.0.12 pkgsrc-2011Q2-base:1.16 pkgsrc-2009Q4:1.16.0.10 pkgsrc-2009Q4-base:1.16 pkgsrc-2008Q4:1.16.0.8 pkgsrc-2008Q4-base:1.16 pkgsrc-2008Q3:1.16.0.6 pkgsrc-2008Q3-base:1.16 cube-native-xorg:1.16.0.4 cube-native-xorg-base:1.16 pkgsrc-2008Q2:1.16.0.2 pkgsrc-2008Q2-base:1.16 pkgsrc-2008Q1:1.15.0.6 pkgsrc-2008Q1-base:1.15 pkgsrc-2007Q4:1.15.0.4 pkgsrc-2007Q4-base:1.15 pkgsrc-2007Q3:1.15.0.2 pkgsrc-2007Q3-base:1.15 pkgsrc-2007Q2:1.14.0.2 pkgsrc-2007Q2-base:1.14 pkgsrc-2007Q1:1.10.0.2 pkgsrc-2007Q1-base:1.10 pkgsrc-2006Q4:1.9.0.2 pkgsrc-2006Q4-base:1.9 pkgsrc-2006Q3:1.7.0.4 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.2 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.5.0.2 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.3.0.18 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.16 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.14 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.12 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.10 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.8 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.6 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 buildlink2-base:1.3 netbsd-1-5-PATCH001:1.2 netbsd-1-5-RELEASE:1.2 netbsd-1-4-PATCH003:1.2 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.2; locks; strict; comment @# @; 1.16 date 2008.06.28.06.02.26; author jmcneill; state dead; branches; next 1.15; 1.15 date 2007.07.01.10.04.27; author adam; state Exp; branches; next 1.14; 1.14 date 2007.06.16.07.42.37; author adam; state Exp; branches; next 1.13; 1.13 date 2007.05.12.20.40.43; author adam; state Exp; branches; next 1.12; 1.12 date 2007.04.29.12.48.05; author adam; state Exp; branches; next 1.11; 1.11 date 2007.04.13.21.25.48; author adam; state Exp; branches; next 1.10; 1.10 date 2007.01.30.13.11.04; author adam; state Exp; branches; next 1.9; 1.9 date 2006.11.25.13.23.14; author adam; state Exp; branches; next 1.8; 1.8 date 2006.10.18.20.37.21; author adam; state Exp; branches; next 1.7; 1.7 date 2006.06.12.09.07.22; author adam; state Exp; branches; next 1.6; 1.6 date 2006.05.12.20.53.37; author adam; state Exp; branches; next 1.5; 1.5 date 2006.02.26.07.48.11; author wiz; state Exp; branches; next 1.4; 1.4 date 2006.01.20.14.58.18; author adam; state Exp; branches; next 1.3; 1.3 date 2002.03.15.04.10.21; author junyoung; state dead; branches; next 1.2; 1.2 date 98.08.07.10.40.36; author agc; state Exp; branches; next 1.1; 1.1 date 98.06.18.23.48.54; author tron; state Exp; branches; next ; desc @@ 1.16 log @Redundant; the code already handles the __NetBSD__ case. @ text @$NetBSD: patch-ak,v 1.15 2007/07/01 10:04:27 adam Exp $ --- dlls/ntdll/file.c.orig 2007-06-29 19:36:20.000000000 +0200 +++ dlls/ntdll/file.c @@@@ -1843,6 +1843,35 @@@@ static NTSTATUS get_device_info( int fd, info->DeviceType = FILE_DEVICE_DISK_FILE_SYSTEM; break; } +#elif defined(__NetBSD__) + struct statvfs stfs; + + if (fstatvfs( fd, &stfs) < 0) + info->DeviceType = FILE_DEVICE_DISK_FILE_SYSTEM; + else if (!strncmp("cd9660", stfs.f_fstypename, + sizeof(stfs.f_fstypename))) + { + info->DeviceType = FILE_DEVICE_CD_ROM_FILE_SYSTEM; + info->Characteristics |= FILE_REMOVABLE_MEDIA; + } + else if (!strncmp("nfs", stfs.f_fstypename, + sizeof(stfs.f_fstypename))) + { + info->DeviceType = FILE_DEVICE_NETWORK_FILE_SYSTEM; + info->Characteristics |= FILE_REMOTE_DEVICE; + } + else if (!strncmp("procfs", stfs.f_fstypename, + sizeof(stfs.f_fstypename))) + info->DeviceType = FILE_DEVICE_VIRTUAL_DISK; + else + info->DeviceType = FILE_DEVICE_DISK_FILE_SYSTEM; + if (stfs.f_flag & MNT_RDONLY) + info->Characteristics |= FILE_READ_ONLY_DEVICE; + if (!(stfs.f_flag & MNT_LOCAL)) + { + info->DeviceType = FILE_DEVICE_NETWORK_FILE_SYSTEM; + info->Characteristics |= FILE_REMOTE_DEVICE; + } #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) struct statfs stfs; @ 1.15 log @Changes 0.9.40: - Many MSHTML improvements - A few more sound fixes - Many Direct3D fixes - Lots of bug fixes @ text @d1 1 a1 1 $NetBSD$ @ 1.14 log @Changes 0.9.39: - Many MSHTML improvements. - Several improvements to the sound support. - A number of Winsock fixes. - Several new supported constructs in the IDL compiler. - Many Direct3D threading fixes. - Lots of bug fixes. @ text @d3 1 a3 1 --- dlls/ntdll/file.c.orig 2007-06-15 16:51:04.000000000 +0200 d5 1 a5 1 @@@@ -1855,6 +1855,35 @@@@ static NTSTATUS get_device_info( int fd, @ 1.13 log @Changes 0.9.37: - MSI automation with JScript/VBScript support. - Various MSHTML improvements. - The usual assortment of Direct3D fixes. - Support for a few more exe protection schemes. - Lots of bug fixes. @ text @d3 1 a3 1 --- dlls/ntdll/file.c.orig 2007-05-11 19:35:02.000000000 +0200 d5 1 a5 1 @@@@ -1833,6 +1833,35 @@@@ static NTSTATUS get_device_info( int fd, @ 1.12 log @Changes 0.9.36: - Midi support in the CoreAudio driver. - Mixer support in the Alsa driver. - A lot of MSI fixes. - Implementation for most D3DRM functions. - The usual assortment of Direct3D fixes. - Lots of bug fixes. @ text @d3 1 a3 1 --- dlls/ntdll/file.c.orig 2007-04-27 16:48:53.000000000 +0200 d5 1 a5 1 @@@@ -1809,6 +1809,35 @@@@ static NTSTATUS get_device_info( int fd, @ 1.11 log @Changes 0.9.35: - Broken aRts sound driver now removed for good. - Many fixes to the Quartz DLL sound support. - File I/O performance improvements. - The usual assortment of Direct3D fixes. - Lots of bug fixes. @ text @d3 1 a3 1 --- dlls/ntdll/file.c.orig 2007-04-13 17:47:52.000000000 +0200 d5 1 a5 1 @@@@ -1817,6 +1817,35 @@@@ static NTSTATUS get_device_info( int fd, @ 1.10 log @Changes 0.9.30: - Many improvements to Direct3D shaders and state management. - Support for inter-process memory allocations. - OLE32 marshalling fixes. - Lots of bug fixes. @ text @d3 1 a3 1 --- dlls/ntdll/file.c.orig 2007-01-25 16:53:50.000000000 +0100 d5 1 a5 1 @@@@ -1773,6 +1773,35 @@@@ static NTSTATUS get_device_info( int fd, @ 1.9 log @Changes 0.9.26: - Better support for Unix locale settings. - Improved X11 keyboard support. - Various MSI fixes. - Winecfg improvements. - Lots of bug fixes. @ text @d3 1 a3 1 --- dlls/ntdll/file.c.orig 2006-11-24 17:18:04.000000000 +0100 d5 1 a5 1 @@@@ -1765,6 +1765,35 @@@@ static NTSTATUS get_device_info( int fd, @ 1.8 log @Changes 0.9.23: - Massive update of printf formats for Win64 compatibility. - Dynamic drive support on MacOSX. - Still more MSI fixes and improvements. - Lots of bug fixes. Changes 0.9.22: - The usual assortment of MSI improvements. - Several bug fixes to the various common controls. - Pixel shaders enabled by default in D3D. - Various improvements to the build process. - Many translation updates. - Lots of bug fixes. Changes 0.9.20: - XEmbed system tray support. - Many improvements to NTLM support. - Many messages made localizable instead of hardcoded to English. - Improved support for various OpenGL platforms. - More improvements to the IDL compiler. - Lots of bug fixes. @ text @d3 1 a3 1 --- dlls/ntdll/file.c.orig 2006-10-13 16:43:39.000000000 +0200 d5 1 a5 1 @@@@ -1624,6 +1624,35 @@@@ NTSTATUS FILE_GetDeviceInfo( int fd, FIL @ 1.7 log @Changes 0.9.15: - More MS/RPC improvements. - Core Audio driver for Mac OS X. - More complete DNSAPI dll. - Improvements to Web browser support. - Lots of bug fixes. @ text @d3 1 a3 1 --- dlls/ntdll/file.c.orig 2006-06-08 17:06:38.000000000 +0200 d5 1 a5 1 @@@@ -1629,6 +1629,35 @@@@ NTSTATUS FILE_GetDeviceInfo( int fd, FIL d38 1 a38 1 #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) @ 1.6 log @Changes 0.9.13: - New GPhoto backend for TWAIN. - Dynamic drive configuration using HAL. - A gazillion Direct3D fixes. - New TCP transport for RPC. - Lots of bug fixes. @ text @d3 1 a3 1 --- dlls/ntdll/file.c.orig 2006-05-11 18:02:02.000000000 +0200 d5 1 a5 1 @@@@ -1599,6 +1599,35 @@@@ NTSTATUS FILE_GetDeviceInfo( int fd, FIL @ 1.5 log @Update to 0.9.8: 0.9.8: - Better Web browser support. - Beginnings of a Wordpad application. - Many richedit improvements. - A number of Direct3D fixes. - A few more options in winecfg. - Lots of bug fixes. 0.9.7: - Directory change notifications can use inotify now. - Hardware breakpoints in the Wine debugger. - Beginnings of support for tape APIs. - A bunch of improvements to the IDL compiler. - Better scheme for mapping My Documents etc. to Unix directories. - Lots of bug fixes. pkgsrc change: Install fnt2bdf and bin2res tools. Improve PLIST. Ok adam@@ @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.4 2006/01/20 14:58:18 adam Exp $ d3 1 a3 1 --- dlls/ntdll/file.c.orig 2006-02-15 17:02:43.000000000 +0100 d5 1 a5 1 @@@@ -1592,6 +1592,35 @@@@ NTSTATUS FILE_GetDeviceInfo( int fd, FIL @ 1.4 log @Changes 0.9.6: - A bunch of OLE fixes and improvements. - DirectSound improvements, including full duplex support. - Fix for the Windows metafile vulnerability. - Many static control improvements. - Some fixes for copy protection support. - Lots of bug fixes. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- dlls/ntdll/file.c.orig 2006-01-20 14:08:25.000000000 +0100 d5 1 a5 1 @@@@ -1587,6 +1587,35 @@@@ NTSTATUS FILE_GetDeviceInfo( int fd, FIL d38 1 a38 1 #elif defined(__FreeBSD__) @ 1.3 log @Update Wine to 20020228 snapshot. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.2 1998/08/07 10:40:36 agc Exp $ d3 37 a39 4 --- wine.ini.orig Sat May 30 17:29:40 1998 +++ wine.ini Thu Jun 18 00:58:54 1998 @@@@ -55,13 +55,13 @@@@ Default = -adobe-times- a40 16 [serialports] -Com1=/dev/cua0 -Com2=/dev/cua1 -Com3=/dev/modem,38400 -Com4=/dev/modem +Com1=/dev/tty00 +Com2=/dev/tty01 +Com3=/dev/tty02 +Com4=/dev/tty03 [parallelports] -Lpt1=/dev/lp0 +Lpt1=/dev/lpt0 [spooler] LPT1:=|lpr @ 1.2 log @Add NetBSD RCS Ids. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Update Wine to 14-Jun-98 snapshot. XXX Audio support is probably broken due to massive use of unsupported XXX Linux stuff in the OSS interface which I commented out. However XXX I don't have an application to test it. @ text @d1 2 @