[Patch] 4.0b4 - darwin/OSX compilation

Steven Tamm steventamm "at" mac.com
Sun Dec 7 22:57:00 2003


Hi all,

I just started porting the 4.0b* series to darwin/OSX and I got it 
working with very little effort.  However, I did have to patch one of 
the files to get Xvnc to link correctly.  Because of the darwin 
additions to XFree86 4.2, a non-quartz based X server must turn off 
quartz support.  This also reduces the compilation time rather 
dramatically.

I know that darwin/OSX isn't supported, but it would be nice if this 
patch were included.

Thanks,
-Steven

*** vnc-4.0b4-unixsrc/xc/config/cf/vnc.def~	Mon Jul  7 02:51:22 2003
--- vnc-4.0b4-unixsrc/xc/config/cf/vnc.def	Sun Dec  7 14:19:27 2003
***************
*** 15,20 ****
--- 15,24 ----
   #define BuildXKB NO
   #endif

+ #ifdef DarwinArchitecture
+ #define DarwinQuartzSupport  NO
+ #endif
+
   #define BuildVNCExt YES
   #define VNCExtDefines -DVNCEXT
   #define SiteExtensionDefines VNCExtDefines