pkgsrc/sysutils/open-vm-tools/patches/patch-br
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

16 lines
586 B
Text

$NetBSD: patch-br,v 1.1 2008/08/31 06:36:49 scottr Exp $
--- toolbox/toolbox-cmd.c.orig 2008-08-08 02:01:57.000000000 -0500
+++ toolbox/toolbox-cmd.c
@@ -43,7 +43,10 @@ typedef void (*ToolboxHelpFunc)(char *pr
* Local Data
*/
-const typedef struct CmdTable {
+#if !defined(__NetBSD__) || __NetBSD_Version__ >= 400000000 // Work around gcc? const-const issue
+const
+#endif
+typedef struct CmdTable {
const char *command; /* The name of the command. */
ToolboxCmdFunc func; /* The function to execute. */
Bool requireRoot; /* Indicates whether root is required. */