openbsd-ports/net/tightvnc/patches/patch-Xvnc_config_cf_OpenBSD_cf

39 lines
1.2 KiB
Plaintext

$OpenBSD: patch-Xvnc_config_cf_OpenBSD_cf,v 1.2 2003/08/31 21:51:01 naddy Exp $
--- Xvnc/config/cf/OpenBSD.cf.orig 2000-06-11 14:00:51.000000000 +0200
+++ Xvnc/config/cf/OpenBSD.cf 2003-08-31 23:23:44.000000000 +0200
@@ -105,6 +105,25 @@ XCOMM operating system: OSName (OSMajor
# 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 <xf86.rules>
-# define BuildServer NO
+# define BuildServer YES
# define XnestServer NO
# define XVirtualFramebufferServer NO