summaryrefslogtreecommitdiff
path: root/emulators/wine/patches
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2008-06-28 06:02:26 +0000
committerjmcneill <jmcneill>2008-06-28 06:02:26 +0000
commit08e547321a1ed4d719af9bf269beca7658c2b36d (patch)
treeb1766432a20f18f5525583ac9b7d3726f84ca613 /emulators/wine/patches
parent010d5400cd18f75712090c22945f8cf8d5a2fe3e (diff)
downloadpkgsrc-08e547321a1ed4d719af9bf269beca7658c2b36d.tar.gz
Redundant; the code already handles the __NetBSD__ case.
Diffstat (limited to 'emulators/wine/patches')
-rw-r--r--emulators/wine/patches/patch-ak40
1 files changed, 0 insertions, 40 deletions
diff --git a/emulators/wine/patches/patch-ak b/emulators/wine/patches/patch-ak
deleted file mode 100644
index d85560a0598..00000000000
--- a/emulators/wine/patches/patch-ak
+++ /dev/null
@@ -1,40 +0,0 @@
-$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;
-