--- Xvnc/lib/Xau/AuRead.c.old 2004-09-17 20:34:15.226303649 -0700 +++ Xvnc/lib/Xau/AuRead.c 2004-09-17 20:34:31.743582524 -0700 @@ -49,7 +49,7 @@ FILE *file; { unsigned short len; - char *data, *malloc (); + char *data; if (read_short (&len, file) == 0) return 0; @@ -76,7 +76,6 @@ { Xauth local; Xauth *ret; - char *malloc (); if (read_short (&local.family, auth_file) == 0) return 0; --- Xvnc/lib/Xau/AuWrite.c.old 2004-09-17 20:37:50.192903801 -0700 +++ Xvnc/lib/Xau/AuWrite.c 2004-09-17 20:37:58.067083299 -0700 @@ -61,8 +61,6 @@ FILE *auth_file; Xauth *auth; { - char *malloc (); - if (write_short (auth->family, auth_file) == 0) return 0; if (write_counted_string (auth->address_length, auth->address, auth_file) == 0) --- Xvnc/lib/Xdmcp/Alloc.c.old 2004-09-17 20:35:33.598137184 -0700 +++ Xvnc/lib/Xdmcp/Alloc.c 2004-09-17 20:35:40.435424729 -0700 @@ -31,8 +31,6 @@ /* stubs for use when Xalloc, Xrealloc and Xfree are not defined */ -extern char *malloc (), *realloc (); - unsigned long * Xalloc (amount) unsigned amount; --- vncserver.orig 2003-07-31 10:19:37.000000000 -0400 +++ vncserver 2006-02-23 15:33:38.000000000 -0500 @@ -38,13 +38,13 @@ $desktopName = "X"; $vncClasses = "/usr/local/vnc/classes"; $vncUserDir = "$ENV{HOME}/.vnc"; -$fontPath = "unix/:7100"; +#$fontPath = "unix/:7100"; # Here is another example of setting the font path: -# $fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"; +$fontPath = "/usr/share/fonts/misc/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/,/usr/share/fonts/Type1/"; # X colors database path is optional, uncomment and edit to use: -# $colorPath = "/usr/lib/X11/rgb"; +$colorPath = "/usr/share/X11/rgb"; # You might wish to make your vnc directory under /tmp, to make sure # passwords are always kept on the local filesystem. To do that, just