make tightvnc compile and run under macppc

This commit is contained in:
lebel 2001-11-11 01:25:13 +00:00
parent 1d4d0b2a27
commit 2568361374
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-Xvnc_config_cf_OpenBSD_cf,v 1.1 2001/11/11 01:25:13 lebel Exp $
--- Xvnc/config/cf/OpenBSD.cf.orig Sun Jun 11 08:00:51 2000
+++ Xvnc/config/cf/OpenBSD.cf Sat Nov 10 18:42:55 2001
@@ -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

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.1 2001/11/11 01:25:13 lebel Exp $
--- Xvnc/programs/Xserver/include/servermd.h.orig Sun Jun 11 08:00:52 2000
+++ Xvnc/programs/Xserver/include/servermd.h Sat Nov 10 18:29:19 2001
@@ -132,7 +132,7 @@ SOFTWARE.
#endif /* vax */
-#if (defined(Lynx) && defined(__powerpc__))
+#if ((defined(__OpenBSD__) || defined(Lynx)) && defined(__powerpc__))
/* For now this is for Xvfb only */
#define IMAGE_BYTE_ORDER MSBFirst