provide proper definitions so this builds on powerpc

This commit is contained in:
pvalchev 2004-07-23 05:10:18 +00:00
parent 753e555878
commit 80c0ffe0ac

View File

@ -1,9 +1,21 @@
$OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.2 2004/06/13 07:01:29 pvalchev Exp $
--- Xvnc/programs/Xserver/include/servermd.h.orig 2004-06-07 08:46:28.000000000 -0600
+++ Xvnc/programs/Xserver/include/servermd.h 2004-06-13 00:55:18.000000000 -0600
@@ -149,8 +149,29 @@ SOFTWARE.
$OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.3 2004/07/23 05:10:18 pvalchev Exp $
--- Xvnc/programs/Xserver/include/servermd.h.orig Wed Aug 7 05:42:53 2002
+++ Xvnc/programs/Xserver/include/servermd.h Thu Jul 22 22:52:03 2004
@@ -132,7 +132,7 @@ SOFTWARE.
#endif /* LynxOS PowerPC */
#endif /* vax */
-#if (defined(Lynx) && defined(__powerpc__))
+#ifdef __powerpc__
/* For now this is for Xvfb only */
#define IMAGE_BYTE_ORDER MSBFirst
@@ -147,10 +147,31 @@ SOFTWARE.
#define FAST_MEMCPY
-#endif /* LynxOS PowerPC */
+#endif /* PowerPC */
+#if defined(__sh__)
+
@ -53,10 +65,11 @@ $OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.2 2004/06/13 07:01:
#if defined (M4310) || defined(M4315) || defined(M4317) || defined(M4319) || defined(M4330)
#define IMAGE_BYTE_ORDER MSBFirst /* Values for Pegasus only */
@@ -306,6 +313,27 @@ SOFTWARE.
@@ -305,6 +312,27 @@ SOFTWARE.
#define LOG2_BYTES_PER_SCANLINE_PAD_PROTO 2
#endif /* alpha */
+
+#if defined(__AMD64__) || defined(AMD64) || defined(__amd64__)
+# define IMAGE_BYTE_ORDER LSBFirst
+
@ -77,7 +90,6 @@ $OpenBSD: patch-Xvnc_programs_Xserver_include_servermd_h,v 1.2 2004/06/13 07:01:
+/* ???? */
+# define FAST_UNALIGNED_READS
+#endif /* AMD64 */
+
#ifdef stellar
#define IMAGE_BYTE_ORDER MSBFirst /* Values for the stellar only*/