PPC Linux support

Hollis hollis "at" austin.rr.com
Fri, 03 Aug 2001 10:24:04 +0000


This patch seems to have been lost. I found the original at 
http://lists.openresources.com/Debian/debian-bugs-closed/msg00030.html, vs 
3.3.2r2 (from 1998!).

It would be wonderful if it could finally make its way into the source tree. 
Without it, PPC Linux builds choke trying to compile 'LinuxMachineDefines'.

-Hollis
--- vnc-3.3.3r2/Xvnc/config/cf/Imake.cf.old	Thu Aug  2 21:20:16 2001
+++ vnc-3.3.3r2/Xvnc/config/cf/Imake.cf	Thu Aug  2 21:21:06 2001
@@ -556,6 +556,10 @@
 #  define Mc68020Architecture
 #  undef mc68000
 # endif /* mc68000 */
+# ifdef powerpc
+#  define PowerPCArchitecture
+#  undef powerpc
+# endif
 #endif /* linux */
 
 #if (defined(__Lynx__) || defined(Lynx)) && (defined(i386) || defined(__i386__) || defined(__x86__) || defined(__powerpc__) || defined(__sparc__) || defined(sparc))
--- vnc-3.3.3r2/Xvnc/config/cf/linux.cf.old	Thu Aug  2 21:22:14 2001
+++ vnc-3.3.3r2/Xvnc/config/cf/linux.cf	Thu Aug  2 21:22:21 2001
@@ -259,6 +259,13 @@
 #define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
 #endif /* Mc68020Architecture */
 
+#ifdef PowerPCArchitecture
+#define OptimizedCDebugFlags   -O2
+#define LinuxMachineDefines    -D__powerpc__
+#define ServerOSDefines                XFree86ServerOSDefines -DDDXTIME -DPART_NET
+#define ServerExtraDefines     -DGCCUSESGAS XFree86ServerDefines
+#endif /* PowerPCArchitecture */
+
 /*================================================================
    BEGIN ORL VNC modification
    Always define _REENTRANT since we may use threaded libraries */
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------