$OpenBSD: patch-Xvnc_config_cf_OpenBSD_cf,v 1.4 2009/01/19 08:01:34 pea Exp $ --- Xvnc/config/cf/OpenBSD.cf.orig Sun Jun 11 14:00:51 2000 +++ Xvnc/config/cf/OpenBSD.cf Fri Dec 5 12:37:36 2008 @@ -67,7 +67,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OS #if defined(UseInstalled) && (!defined(XF86LinkKit) || !XF86LinkKit) #define DefaultCCOptions /**/ #else -#define DefaultCCOptions -ansi -Dasm=__asm +#define DefaultCCOptions -Dasm=__asm #endif #define GccGasOption -DGCCUSESGAS @@ -105,6 +105,25 @@ XCOMM operating system: OSName (OSMajorVersion./**/OS # endif #endif +#if defined(SparcArchitecture) +# define ServerOSDefines -DDDXOSINIT +# if defined(Sparc64Architecture) +# define ServerExtraDefines GccGasOption -D_XSERVER64 +# else +# define ServerExtraDefines GccGasOption +# endif +# define PexDynamicModule NO +# define XieDynamicModule NO +#endif + +#if defined(macppcArchitecture) +# define ServerOSDefines -DDDXOSINIT +# define ServerExtraDefines GccGasOption -D__macppc__ +# define PexDynamicModule NO +# define XieDynamicModule NO +# define XkbServerDefines -DXKB_ALWAYS_USES_SOFT_REPEAT +#endif + #define StandardDefines -DCSRG_BASED #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC @@ -227,7 +246,7 @@ install.man:: @@\ # define XF86Contrib # include -# define BuildServer NO +# define BuildServer YES # define XnestServer NO # define XVirtualFramebufferServer NO