pkgsrc/sysutils/open-vm-tools/patches/patch-ak
scottr 8e053ee7cb Update to version 2008.08.08-109361. This release provides the following
enhancements:

 - Simple command-line tools to interface with VMware host
 - Guest OS scripts that can be triggered by the VMware host
 - Startup script

When compiled with X11 support (the default), this release also provides:

 - GTK+-based GUI to configure time sync, device connections, and scripts
 - Helper application to interface with the xf86-video-vmware driver,
   enabling dynamic screen resize
2008-08-31 06:36:47 +00:00

58 lines
1.7 KiB
Text

$NetBSD: patch-ak,v 1.2 2008/08/31 06:36:48 scottr Exp $
--- lib/file/filePosix.c.orig 2008-08-08 02:01:54.000000000 -0500
+++ lib/file/filePosix.c
@@ -24,7 +24,7 @@
#include <sys/types.h> /* Needed before sys/vfs.h with glibc 2.0 --hpreg */
-#if !__FreeBSD__
+#if !__FreeBSD__ && !__NetBSD__
# if !__APPLE__
# include <sys/vfs.h>
# endif
@@ -64,7 +64,7 @@
#include "unicodeOperations.h"
-#if !defined(__FreeBSD__) && !defined(sun)
+#if !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__)
#if !defined(__APPLE__)
static char *FilePosixLookupMountPoint(char const *canPath, Bool *bind);
#endif
@@ -320,7 +320,7 @@ FileAttributes(ConstUnicode pathName, /
*----------------------------------------------------------------------
*/
-#if !defined(__FreeBSD__) && !defined(sun)
+#if !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__)
Bool
File_IsRemote(ConstUnicode pathName) // IN: Path name
{
@@ -626,7 +626,7 @@ File_GetTimes(ConstUnicode pathName,
* XXX atime is almost always MAX.
*/
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
/*
* FreeBSD: All supported versions have timestamps with nanosecond resolution.
* FreeBSD 5+ has also file creation time.
@@ -788,7 +788,7 @@ File_SetTimes(ConstUnicode pathName,
}
-#if !defined(__FreeBSD__) && !defined(sun)
+#if !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__)
/*
*-----------------------------------------------------------------------------
*
@@ -1747,7 +1747,7 @@ File_IsSameFile(ConstUnicode path1, //
}
-#endif /* !FreeBSD && !sun */
+#endif /* !FreeBSD && !sun && !NetBSD */
/*